diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-07-19 02:52:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-19 16:34:16 -0400 |
commit | 90e1795b9b18ce47e95cd26028a9cfd0f4cc35ba (patch) | |
tree | 95a6d3c6339f4d8ed44535e27bb6b57872e23163 /drivers/net/bonding/bond_main.c | |
parent | e6e4ec2f98ae3b75cfede011c8794120914e789f (diff) |
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>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 822808810a13..20f45cbf961a 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -176,7 +176,9 @@ static int arp_ip_count; | |||
176 | static int bond_mode = BOND_MODE_ROUNDROBIN; | 176 | static int bond_mode = BOND_MODE_ROUNDROBIN; |
177 | static int xmit_hashtype = BOND_XMIT_POLICY_LAYER2; | 177 | static int xmit_hashtype = BOND_XMIT_POLICY_LAYER2; |
178 | static int lacp_fast; | 178 | static int lacp_fast; |
179 | #ifdef CONFIG_NET_POLL_CONTROLLER | ||
179 | static int disable_netpoll = 1; | 180 | static int disable_netpoll = 1; |
181 | #endif | ||
180 | 182 | ||
181 | const struct bond_parm_tbl bond_lacp_tbl[] = { | 183 | const struct bond_parm_tbl bond_lacp_tbl[] = { |
182 | { "slow", AD_LACP_SLOW}, | 184 | { "slow", AD_LACP_SLOW}, |