From: Bart Van Assche Date: Wed, 14 Aug 2013 15:41:22 +0000 (+0000) Subject: fcoe: Declare fcoe_ctlr_mode_set() static X-Git-Tag: v3.13-rc1~99^2^2~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=41463a8851cd334341d143fbed558fa0c2e6865b;p=linux-2.6-block.git fcoe: Declare fcoe_ctlr_mode_set() static The function fcoe_ctlr_mode_set() is local, hence declare it static. Signed-off-by: Bart Van Assche Cc: Neil Horman Signed-off-by: Robert Love --- diff --git a/drivers/scsi/fcoe/fcoe_ctlr.c b/drivers/scsi/fcoe/fcoe_ctlr.c index 35b1fb73bd6b..9e83a790aa6b 100644 --- a/drivers/scsi/fcoe/fcoe_ctlr.c +++ b/drivers/scsi/fcoe/fcoe_ctlr.c @@ -2828,8 +2828,8 @@ unlock: * disabled, so that should ensure that this routine is only called * when nothing is happening. */ -void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip, - enum fip_state fip_mode) +static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip, + enum fip_state fip_mode) { void *priv;