aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_procfs.c
diff options
context:
space:
mode:
authorDavid Decotigny <decot@google.com>2011-04-13 15:22:29 +0000
committerDavid S. Miller <davem@davemloft.net>2011-04-14 22:00:31 -0700
commitd30ee670f25ea8f265a2804e2a0a53804cac5185 (patch)
tree7a8d3b92f26cb3e9570df2989a0b8ea462027a1a /drivers/net/bonding/bond_procfs.c
parentqlge: make nic_operations struct const (diff)
downloadlinux-dev-d30ee670f25ea8f265a2804e2a0a53804cac5185.tar.xz
linux-dev-d30ee670f25ea8f265a2804e2a0a53804cac5185.zip
net-bonding: Fix minor sparse complaints
This gets rid of minor sparse complaints: drivers/net/bonding/bond_main.c:4361:4: warning: do-while statement is not a compound statement drivers/net/bonding/bond_main.c:243:12: warning: symbol 'bond_mode_name' was not declared. Should it be static? Signed-off-by: David Decotigny <decot@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_procfs.c')
-rw-r--r--drivers/net/bonding/bond_procfs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_procfs.c b/drivers/net/bonding/bond_procfs.c
index c32ff55a34c1..c97307ddd1c9 100644
--- a/drivers/net/bonding/bond_procfs.c
+++ b/drivers/net/bonding/bond_procfs.c
@@ -4,8 +4,6 @@
#include "bonding.h"
-extern const char *bond_mode_name(int mode);
-
static void *bond_info_seq_start(struct seq_file *seq, loff_t *pos)
__acquires(RCU)
__acquires(&bond->lock)