aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-13 06:32:45 +0000
committerDavid S. Miller <davem@davemloft.net>2024-02-14 11:20:14 +0000
commit1b3ef46cb7f2618cc0b507393220a69810f6da12 (patch)
tree088d0a5f622367220d14e500928bbd2532d82756 /include/linux/netdevice.h
parente51b962438741f5482c82fb225c1d59136f0fd87 (diff)
downloadlinux-1b3ef46cb7f2618cc0b507393220a69810f6da12.tar.gz
net: remove dev_base_lock
dev_base_lock is not needed anymore, all remaining users also hold RTNL. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
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 697370706a82d3..c541550b0e6e6c 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3077,8 +3077,6 @@ int call_netdevice_notifiers(unsigned long val, struct net_device *dev);
int call_netdevice_notifiers_info(unsigned long val,
struct netdev_notifier_info *info);
-extern rwlock_t dev_base_lock; /* Device list lock */
-
#define for_each_netdev(net, d) \
list_for_each_entry(d, &(net)->dev_base_head, dev_list)
#define for_each_netdev_reverse(net, d) \