summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-13 07:32:45 +0100
committerDavid S. Miller <davem@davemloft.net>2024-02-14 12:20:14 +0100
commit1b3ef46cb7f2618cc0b507393220a69810f6da12 (patch)
tree088d0a5f622367220d14e500928bbd2532d82756 /include
parentnet: remove dev_base_lock from register_netdevice() and friends. (diff)
downloadlinux-1b3ef46cb7f2618cc0b507393220a69810f6da12.tar.xz
linux-1b3ef46cb7f2618cc0b507393220a69810f6da12.zip
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')
-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 697370706a82..c541550b0e6e 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) \