bnad: make local variable static
authorstephen hemminger <stephen@networkplumber.org>
Sat, 14 Dec 2013 00:40:10 +0000 (16:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 20:18:48 +0000 (15:18 -0500)
Compile tested only.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c
drivers/net/ethernet/brocade/bna/bnad.h

index 3d151bd1635ee3c37374261f510c17e31d2ff19a..f1a516bc31c1a27dd8d1dbaad21f69cd65c0eaef 100644 (file)
@@ -52,7 +52,7 @@ MODULE_PARM_DESC(bna_debugfs_enable, "Enables debugfs feature, default=1,"
 /*
  * Global variables
  */
-u32 bnad_rxqs_per_cq = 2;
+static u32 bnad_rxqs_per_cq = 2;
 static u32 bna_id;
 static struct mutex bnad_list_mutex;
 static LIST_HEAD(bnad_list);
index f7e033f8a00e30f0ed33e0f9889d14bafbf512a6..4137aaad3ab1d155602c4f01266692e61034a2fd 100644 (file)
@@ -367,7 +367,6 @@ struct bnad_drvinfo {
  * EXTERN VARIABLES
  */
 extern const struct firmware *bfi_fw;
-extern u32             bnad_rxqs_per_cq;
 
 /*
  * EXTERN PROTOTYPES