summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-07-19 06:52:36 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-19 13:34:16 -0700
commit90e1795b9b18ce47e95cd26028a9cfd0f4cc35ba (patch)
tree95a6d3c6339f4d8ed44535e27bb6b57872e23163
parente6e4ec2f98ae3b75cfede011c8794120914e789f (diff)
downloadop-kernel-dev-90e1795b9b18ce47e95cd26028a9cfd0f4cc35ba.zip
op-kernel-dev-90e1795b9b18ce47e95cd26028a9cfd0f4cc35ba.tar.gz
bonding: avoid a warning
drivers/net/bonding/bond_main.c:179:12: warning: ‘disable_netpoll’ defined but not used Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 8228088..20f45cb 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -176,7 +176,9 @@ static int arp_ip_count;
static int bond_mode = BOND_MODE_ROUNDROBIN;
static int xmit_hashtype = BOND_XMIT_POLICY_LAYER2;
static int lacp_fast;
+#ifdef CONFIG_NET_POLL_CONTROLLER
static int disable_netpoll = 1;
+#endif
const struct bond_parm_tbl bond_lacp_tbl[] = {
{ "slow", AD_LACP_SLOW},
OpenPOWER on IntegriCloud