aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-07-15 10:52:03 +0800
committerDavid S. Miller <davem@davemloft.net>2020-07-15 07:45:25 -0700
commit8635764bcf0f109933b593d79ac2247b1e863d0a (patch)
tree0c535ecdbe28eaeec51aaa73f2864e58f38065ef
parentmptcp: Remove unused inline function mptcp_rcv_synsent() (diff)
downloadwireguard-linux-8635764bcf0f109933b593d79ac2247b1e863d0a.tar.xz
wireguard-linux-8635764bcf0f109933b593d79ac2247b1e863d0a.zip
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>
-rw-r--r--include/linux/netpoll.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index f47af135bd56..e6a2d72e0dc7 100644
--- a/include/linux/netpoll.h
+++ b/include/linux/netpoll.h
@@ -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_netdev_init(struct net_device *dev)
-{
-}
static inline bool netpoll_tx_running(struct net_device *dev)
{
return false;