Skip to contentSkip to conversation

bonding: remove the unused dummy functions when net poll controller isn't enabled

PATCH Applied Changli Gao 2 participants 2 messages Mar 3, 2011 – Mar 7, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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.

---
 drivers/net/bonding/bond_main.c |    8 --------
 1 file changed, 8 deletions(-)
drivers/net/bonding/bond_main.c +0 -8
index 0592e6d..912b416 100644
@@ -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 ----------------------------------*/