提交 8635764b 编写于 作者: Y YueHaibing 提交者: David S. Miller

netpoll: Remove unused inline function netpoll_netdev_init()

commit d565b0a1 ("net: Add Generic Receive Offload infrastructure")
left behind this, remove it.
Signed-off-by: NYueHaibing <yuehaibing@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0d40efab
...@@ -102,9 +102,6 @@ static inline void *netpoll_poll_lock(struct napi_struct *napi) ...@@ -102,9 +102,6 @@ static inline void *netpoll_poll_lock(struct napi_struct *napi)
static inline void netpoll_poll_unlock(void *have) static inline void netpoll_poll_unlock(void *have)
{ {
} }
static inline void netpoll_netdev_init(struct net_device *dev)
{
}
static inline bool netpoll_tx_running(struct net_device *dev) static inline bool netpoll_tx_running(struct net_device *dev)
{ {
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册