net: delete __dev_getfirstbyhwtype
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sun, 29 Nov 2020 20:05:50 +0000 (22:05 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 23:40:01 +0000 (15:40 -0800)
commitc214550ff8eae9623605149fa4e3da3ba43df145
treeff0dbad2031112e92c354639eea331f8c37bce9c
parentf7cf335c7d008543539708e8051d27c4265fa103
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 <arnd@arndb.de>
Cc: David Howells <dhowells@redhat.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20201129200550.2433401-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/netdevice.h
net/core/dev.c