提交 cca134fe 编写于 作者: C Changli Gao 提交者: David S. Miller

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: NChangli Gao <xiaosuo@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ef28a4e6
......@@ -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 ----------------------------------*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册