Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

netpoll: Remove unused inline function netpoll_netdev_init()

commit d565b0a1a9b6 ("net: Add Generic Receive Offload infrastructure")
left behind this, remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

YueHaibing and committed by
David S. Miller
8635764b 0d40efab

-3
-3
include/linux/netpoll.h
··· 102 102 static inline void netpoll_poll_unlock(void *have) 103 103 { 104 104 } 105 - static inline void netpoll_netdev_init(struct net_device *dev) 106 - { 107 - } 108 105 static inline bool netpoll_tx_running(struct net_device *dev) 109 106 { 110 107 return false;