Skip to contentSkip to conversation

net: delete redundant function declaration

PATCH Applied Chen Wandun 2 participants 2 messages Oct 13, 2021 – Oct 14, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: delete redundant function declaration

The implement of function netdev_all_upper_get_next_dev_rcu has been removed in:
commit f1170fd462c6 ("net: Remove all_adj_list and its references")
so delete redundant declaration in header file.

Fixes f1170fd462c6 ("net: Remove all_adj_list and its references")
---
 include/linux/netdevice.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/netdevice.h +0 -2
index 0723c1314ea2..b96b2a3762d1 100644
@@ -4801,8 +4801,6 @@ struct netdev_nested_priv {
 bool netdev_has_upper_dev(struct net_device *dev, struct net_device *upper_dev);
 struct net_device *netdev_upper_get_next_dev_rcu(struct net_device *dev,
 						     struct list_head **iter);
-struct net_device *netdev_all_upper_get_next_dev_rcu(struct net_device *dev,
-						     struct list_head **iter);
 
 #ifdef CONFIG_LOCKDEP
 static LIST_HEAD(net_unlink_list);
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 13 Oct 2021 17:47:02 +0800 you wrote:

The implement of function netdev_all_upper_get_next_dev_rcu has been removed in:
commit f1170fd462c6 ("net: Remove all_adj_list and its references")
so delete redundant declaration in header file.

Fixes f1170fd462c6 ("net: Remove all_adj_list and its references")

[...]

Here is the summary with links:
- net: delete redundant function declaration

    https://git.kernel.org/netdev/net-next/c/9974cb5c8790

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html