linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init()
@ 2020-07-15  2:41 YueHaibing
  2020-07-15  2:50 ` Yuehaibing
  2020-07-15 14:46 ` David Miller
  0 siblings, 2 replies; 4+ messages in thread
From: YueHaibing @ 2020-07-15  2:41 UTC (permalink / raw)
  To: edumazet, davem, herbert; +Cc: linux-kernel, YueHaibing

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

Signed-off-by: YueHaibing <yuehaibing@huawei.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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init()
  2020-07-15  2:41 [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init() YueHaibing
@ 2020-07-15  2:50 ` Yuehaibing
  2020-07-15 14:46 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: Yuehaibing @ 2020-07-15  2:50 UTC (permalink / raw)
  To: edumazet, davem, herbert; +Cc: linux-kernel

Pls ignore this.

On 2020/7/15 10:41, YueHaibing wrote:
> commit d565b0a1a9b6 ("net: Add Generic Receive Offload infrastructure")
> left behind this, remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.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;
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init()
  2020-07-15  2:41 [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init() YueHaibing
  2020-07-15  2:50 ` Yuehaibing
@ 2020-07-15 14:46 ` David Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David Miller @ 2020-07-15 14:46 UTC (permalink / raw)
  To: yuehaibing; +Cc: edumazet, herbert, linux-kernel

From: YueHaibing <yuehaibing@huawei.com>
Date: Wed, 15 Jul 2020 10:41:23 +0800

> commit d565b0a1a9b6 ("net: Add Generic Receive Offload infrastructure")
> left behind this, remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

Applied.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init()
@ 2020-07-15  2:52 YueHaibing
  0 siblings, 0 replies; 4+ messages in thread
From: YueHaibing @ 2020-07-15  2:52 UTC (permalink / raw)
  To: edumazet, davem, herbert; +Cc: linux-kernel, netdev, YueHaibing

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

Signed-off-by: YueHaibing <yuehaibing@huawei.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



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-15 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-15  2:41 [PATCH net-next] netpoll: Remove unused inline function netpoll_netdev_init() YueHaibing
2020-07-15  2:50 ` Yuehaibing
2020-07-15 14:46 ` David Miller
2020-07-15  2:52 YueHaibing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).