diff options
| author | Vladimir Oltean <[email protected]> | 2020-11-29 22:05:50 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-12-01 15:40:01 -0800 |
| commit | c214550ff8eae9623605149fa4e3da3ba43df145 (patch) | |
| tree | ff0dbad2031112e92c354639eea331f8c37bce9c /include/linux | |
| parent | f7cf335c7d008543539708e8051d27c4265fa103 (diff) | |
net: delete __dev_getfirstbyhwtype
The last user of the RTNL brother of dev_getfirstbyhwtype (the latter
being synchronized under RCU) has been deleted in commit b4db2b35fc44
("afs: Use core kernel UUID generation").
Cc: Arnd Bergmann <[email protected]>
Cc: David Howells <[email protected]>
Cc: Eric Dumazet <[email protected]>
Signed-off-by: Vladimir Oltean <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 8eeb73ac58bd..2e077e289e75 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2815,7 +2815,6 @@ unsigned long netdev_boot_base(const char *prefix, int unit); struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *hwaddr); struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type); -struct net_device *__dev_getfirstbyhwtype(struct net *net, unsigned short type); void dev_add_pack(struct packet_type *pt); void dev_remove_pack(struct packet_type *pt); void __dev_remove_pack(struct packet_type *pt); |