aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorChen Wandun <chenwandun@huawei.com>2021-10-13 17:47:02 +0800
committerJakub Kicinski <kuba@kernel.org>2021-10-13 17:50:29 -0700
commit9974cb5c879048f5144d0660c4932d98176213c4 (patch)
treedf7fccbf6d07ef28aef7ae1412bb3a4573878f18 /include/linux/netdevice.h
parentMerge branch 'mlxsw-show-per-band-ecn-marked-counter-on-qdisc' (diff)
downloadlinux-dev-9974cb5c879048f5144d0660c4932d98176213c4.tar.xz
linux-dev-9974cb5c879048f5144d0660c4932d98176213c4.zip
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") 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>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index f33af341bfb2..173984414f38 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -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);