Skip to content

Commit

Permalink
bonding: remove the unused dummy functions when net poll controller i…
Browse files Browse the repository at this point in the history
…sn't enabled

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>
  • Loading branch information
Changli Gao authored and David S. Miller committed Mar 7, 2011
1 parent ef28a4e commit cca134f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ----------------------------------*/
Expand Down

0 comments on commit cca134f

Please sign in to comment.