OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdbc0f
)
net: delete redundant function declaration
author
Chen Wandun
<chenwandun@huawei.com>
Wed, 13 Oct 2021 09:47:02 +0000
(17:47 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 14 Oct 2021 00:50:29 +0000
(17:50 -0700)
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>
include/linux/netdevice.h
patch
|
blob
|
history
diff --git
a/include/linux/netdevice.h
b/include/linux/netdevice.h
index
f33af34
..
1739844
100644
(file)
--- 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);