]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
bonding: remove the unused dummy functions when net poll controller isn't enabled
authorChangli Gao <xiaosuo@gmail.com>
Wed, 2 Mar 2011 18:26:21 +0000 (18:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Mar 2011 23:45:07 +0000 (15:45 -0800)
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>
drivers/net/bonding/bond_main.c

index 0592e6da15a6825fbb3caccb97cd912ec7ebce34..912b416b757338896c2731fa7fb03f1a8b87a0a0 100644 (file)
@@ -1380,14 +1380,6 @@ static inline void slave_disable_netpoll(struct slave *slave)
 static void bond_netpoll_cleanup(struct net_device *bond_dev)
 {
 }
-static int bond_netpoll_setup(struct net_device *dev, struct netpoll_info *ni)
-{
-       return 0;
-}
-static struct netpoll_info *bond_netpoll_info(struct bonding *bond)
-{
-       return NULL;
-}
 #endif
 
 /*---------------------------------- IOCTL ----------------------------------*/