Skip to content

Commit

Permalink
net: delete redundant function declaration
Browse files Browse the repository at this point in the history
The implement of function netdev_all_upper_get_next_dev_rcu has been
removed in:
	commit f1170fd ("net: Remove all_adj_list and its references")
so delete redundant declaration in header file.

Fixes: f1170fd ("net: Remove all_adj_list and its references")
Signed-off-by: Chen Wandun <chenwandun@huawei.com>
Link: https://lore.kernel.org/r/20211013094702.3931071-1-chenwandun@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Chen Wandun authored and Jakub Kicinski committed Oct 14, 2021
1 parent ffdbc0f commit 9974cb5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9974cb5

Please sign in to comment.