netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] bonding: remove the unused dummy functions when net poll controller isn't enabled
@ 2011-03-03  4:26 Changli Gao
  2011-03-07 23:45 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Changli Gao @ 2011-03-03  4:26 UTC (permalink / raw)
  To: Jay Vosburgh; +Cc: David S. Miller, netdev, Changli Gao

These two functions are only used when net poll controller is enabled.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
---
 drivers/net/bonding/bond_main.c |    8 --------
 1 file changed, 8 deletions(-)
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 ----------------------------------*/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/2] bonding: remove the unused dummy functions when net poll controller isn't enabled
  2011-03-03  4:26 [PATCH 1/2] bonding: remove the unused dummy functions when net poll controller isn't enabled Changli Gao
@ 2011-03-07 23:45 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-03-07 23:45 UTC (permalink / raw)
  To: xiaosuo; +Cc: fubar, netdev

From: Changli Gao <xiaosuo@gmail.com>
Date: Thu,  3 Mar 2011 12:26:21 +0800

> These two functions are only used when net poll controller is enabled.
> 
> Signed-off-by: Changli Gao <xiaosuo@gmail.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-07 23:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-03  4:26 [PATCH 1/2] bonding: remove the unused dummy functions when net poll controller isn't enabled Changli Gao
2011-03-07 23:45 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).