mirror of
https://github.com/torvalds/linux.git
synced 2026-12-05 12:54:27 +00:00
Cleanup of dev_base list use, with the aim to simplify making device list per-namespace. In almost every occasion, use of dev_base variable and dev->next pointer could be easily replaced by for_each_netdev loop. A few most complicated places were converted to using first_netdev()/next_netdev(). Signed-off-by: Pavel Emelianov <[email protected]> Acked-by: Kirill Korotaev <[email protected]> Signed-off-by: David S. Miller <[email protected]>