[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200715025203.10260-1-yuehaibing@huawei.com>
Date: Wed, 15 Jul 2020 10:52:03 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <edumazet@...gle.com>, <davem@...emloft.net>,
<herbert@...dor.apana.org.au>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH net-next] 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@...wei.com>
---
include/linux/netpoll.h | 3 ---
1 file changed, 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;
--
2.17.1
Powered by blists - more mailing lists