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>
 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 ----------------------------------*/