projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d40efa
)
netpoll: Remove unused inline function netpoll_netdev_init()
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 15 Jul 2020 02:52:03 +0000
(10:52 +0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Jul 2020 14:45:25 +0000
(07:45 -0700)
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>
include/linux/netpoll.h
patch
|
blob
|
history
diff --git
a/include/linux/netpoll.h
b/include/linux/netpoll.h
index f47af135bd56c1927ee2d15c2a20f5467e9b22a7..e6a2d72e0dc7a6929d32a2e994f24719e073121e 100644
(file)
--- 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;