bnad: make local variable static
Subsystems (3)
PATCH 1/1 bnad: make local variable static
Compile tested only.
Signed-off-by Stephen Hemminger <[email protected]>
drivers/net/ethernet/brocade/bna/bnad.c +1 -1
@@ -52,7 +52,7 @@ MODULE_PARM_DESC(bna_debugfs_enable, "En/* * 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);
drivers/net/ethernet/brocade/bna/bnad.h +0 -1
@@ -367,7 +367,6 @@ struct bnad_drvinfo {* EXTERN VARIABLES */ extern const struct firmware *bfi_fw; -extern u32 bnad_rxqs_per_cq;/* * EXTERN PROTOTYPES
Quoted 4 lines
From: Stephen Hemminger [mailto:[email protected]]
Sent: Friday, December 13, 2013 4:40 PMCompile tested only.
Thanks Stephen!
Sanity and basic traffic test conducted and it looks fine.
Acked-by Rasesh Mody <[email protected]>
From: Stephen Hemminger <[email protected]>
Date: Fri, 13 Dec 2013 16:40:10 -0800
Quoted 3 lines
Compile tested only.
Signed-off-by Stephen Hemminger <[email protected]>
Applied.