* [PATCH net-next] net: Remove unused declaration dev_restart()
@ 2023-07-26 14:37 YueHaibing
2023-07-27 11:34 ` Simon Horman
2023-07-28 0:50 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: YueHaibing @ 2023-07-26 14:37 UTC (permalink / raw)
To: davem, edumazet, kuba, pabeni; +Cc: netdev, linux-kernel, YueHaibing
This is not used, so can remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
include/linux/netdevice.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 11652e464f5d..32a4cdf37dd4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3130,8 +3130,6 @@ struct net_device *netdev_get_by_name(struct net *net, const char *name,
netdevice_tracker *tracker, gfp_t gfp);
struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex);
struct net_device *dev_get_by_napi_id(unsigned int napi_id);
-int dev_restart(struct net_device *dev);
-
static inline int dev_hard_header(struct sk_buff *skb, struct net_device *dev,
unsigned short type,
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: Remove unused declaration dev_restart()
2023-07-26 14:37 [PATCH net-next] net: Remove unused declaration dev_restart() YueHaibing
@ 2023-07-27 11:34 ` Simon Horman
2023-07-28 0:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2023-07-27 11:34 UTC (permalink / raw)
To: YueHaibing; +Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel
On Wed, Jul 26, 2023 at 10:37:15PM +0800, YueHaibing wrote:
> This is not used, so can remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] net: Remove unused declaration dev_restart()
2023-07-26 14:37 [PATCH net-next] net: Remove unused declaration dev_restart() YueHaibing
2023-07-27 11:34 ` Simon Horman
@ 2023-07-28 0:50 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2023-07-28 0:50 UTC (permalink / raw)
To: Yue Haibing; +Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 26 Jul 2023 22:37:15 +0800 you wrote:
> This is not used, so can remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> include/linux/netdevice.h | 2 --
> 1 file changed, 2 deletions(-)
Here is the summary with links:
- [net-next] net: Remove unused declaration dev_restart()
https://git.kernel.org/netdev/net-next/c/d0358c1a37db
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-07-28 0:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-26 14:37 [PATCH net-next] net: Remove unused declaration dev_restart() YueHaibing
2023-07-27 11:34 ` Simon Horman
2023-07-28 0:50 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®