diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 02:58:57 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 02:58:57 -0500 |
commit | b06715b7a3db551dcf4706f05e8d2285a66fe05f (patch) | |
tree | a905110ecc08f0bb831a8bea25b9a2f860dd3372 /drivers/net/bonding/bond_sysfs.c | |
parent | 9dc20f553f8cb548feaba9dae0cb4905327ecbac (diff) |
drivers/net/bonding: fix sparse warnings: move decls to header file
Fix this sparse warnings:
drivers/net/bonding/bond_main.c:104:20: warning: symbol 'bonding_defaults' was not declared. Should it be static?
drivers/net/bonding/bond_main.c:204:22: warning: symbol 'ad_select_tbl' was not declared. Should it be static?
drivers/net/bonding/bond_sysfs.c:60:21: warning: symbol 'bonding_rwsem' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_sysfs.c')
-rw-r--r-- | drivers/net/bonding/bond_sysfs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 1860f814c78f..18cf4787874c 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c | |||
@@ -43,9 +43,6 @@ | |||
43 | 43 | ||
44 | /*---------------------------- Declarations -------------------------------*/ | 44 | /*---------------------------- Declarations -------------------------------*/ |
45 | 45 | ||
46 | extern struct bond_params bonding_defaults; | ||
47 | extern struct bond_parm_tbl ad_select_tbl[]; | ||
48 | |||
49 | static int expected_refcount = -1; | 46 | static int expected_refcount = -1; |
50 | /*--------------------------- Data Structures -----------------------------*/ | 47 | /*--------------------------- Data Structures -----------------------------*/ |
51 | 48 | ||