]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
fcoe: Declare fcoe_ctlr_mode_set() static
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Aug 2013 15:41:22 +0000 (15:41 +0000)
committerRobert Love <robert.w.love@intel.com>
Wed, 4 Sep 2013 20:59:47 +0000 (13:59 -0700)
The function fcoe_ctlr_mode_set() is local, hence declare it static.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/fcoe/fcoe_ctlr.c

index 35b1fb73bd6b38a8b872121efd3f4719326be6d0..9e83a790aa6b9d1591c4b3537c36ffa6adcaefa7 100644 (file)
@@ -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;