diff options
author | Eric Dumazet <edumazet@google.com> | 2024-02-13 07:32:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-14 12:20:14 +0100 |
commit | 1b3ef46cb7f2618cc0b507393220a69810f6da12 (patch) | |
tree | 088d0a5f622367220d14e500928bbd2532d82756 /include | |
parent | net: remove dev_base_lock from register_netdevice() and friends. (diff) | |
download | linux-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.h | 2 |
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) \ |