diff options
author | Changli Gao <xiaosuo@gmail.com> | 2011-03-02 13:26:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-07 18:45:07 -0500 |
commit | cca134fe784a01cf4eb9f0621b0104591b7ddfba (patch) | |
tree | fd273d10393538a13be950a97073c4ea8126ae26 /drivers/net/bonding/bond_main.c | |
parent | ef28a4e6ecb8fbe742ea51fc9ec836b5289d1301 (diff) |
bonding: remove the unused dummy functions when net poll controller isn't enabled
These two functions are only used when net poll controller is enabled.
Signed-off-by: Changli Gao <xiaosuo@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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 0592e6da15a6..912b416b7573 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -1380,14 +1380,6 @@ static inline void slave_disable_netpoll(struct slave *slave) | |||
1380 | static void bond_netpoll_cleanup(struct net_device *bond_dev) | 1380 | static void bond_netpoll_cleanup(struct net_device *bond_dev) |
1381 | { | 1381 | { |
1382 | } | 1382 | } |
1383 | static int bond_netpoll_setup(struct net_device *dev, struct netpoll_info *ni) | ||
1384 | { | ||
1385 | return 0; | ||
1386 | } | ||
1387 | static struct netpoll_info *bond_netpoll_info(struct bonding *bond) | ||
1388 | { | ||
1389 | return NULL; | ||
1390 | } | ||
1391 | #endif | 1383 | #endif |
1392 | 1384 | ||
1393 | /*---------------------------------- IOCTL ----------------------------------*/ | 1385 | /*---------------------------------- IOCTL ----------------------------------*/ |