From: Changli Gao Date: Wed, 2 Mar 2011 18:26:21 +0000 (+0000) Subject: bonding: remove the unused dummy functions when net poll controller isn't enabled X-Git-Tag: upstream/snapshot3+hdmi~11215^2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cca134fe784a01cf4eb9f0621b0104591b7ddfba;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 0592e6d..912b416 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) 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 ----------------------------------*/