Skip to content

Commit

Permalink
netpoll: Remove unused inline function netpoll_netdev_init()
Browse files Browse the repository at this point in the history
commit d565b0a ("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>
  • Loading branch information
YueHaibing authored and David S. Miller committed Jul 15, 2020
1 parent 0d40efa commit 8635764
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/linux/netpoll.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8635764

Please sign in to comment.