[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131213164010.0d082bbe@nehalam.linuxnetplumber.net>
Date: Fri, 13 Dec 2013 16:40:10 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Rasesh Mody <rmody@...cade.com>, David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH net-next] bnad: make local variable static
Compile tested only.
Signed-off-by: Stephen Hemminger <stephen@...workplumber.org>
--- a/drivers/net/ethernet/brocade/bna/bnad.c 2013-12-12 11:48:17.033855594 -0800
+++ b/drivers/net/ethernet/brocade/bna/bnad.c 2013-12-12 11:56:57.325752730 -0800
@@ -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);
--- a/drivers/net/ethernet/brocade/bna/bnad.h 2013-12-12 11:48:17.033855594 -0800
+++ b/drivers/net/ethernet/brocade/bna/bnad.h 2013-12-12 11:56:57.325752730 -0800
@@ -367,7 +367,6 @@ struct bnad_drvinfo {
* EXTERN VARIABLES
*/
extern const struct firmware *bfi_fw;
-extern u32 bnad_rxqs_per_cq;
/*
* EXTERN PROTOTYPES
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists