commit | 037e56bd965e1bc72c2fa9684ac25b56839a338e | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kuba@kernel.org> | Tue Jan 19 12:25:19 2021 -0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Wed Jan 20 21:04:18 2021 -0800 |
tree | f7fa2c68ed303bf958f3befebbcd2586bd73a43f | |
parent | 2014beea7eb165c745706b13659a0f1d0a9a2a61 [diff] |
net: inline rollback_registered() rollback_registered() is a local helper, it's common for driver code to call unregister_netdevice_queue(dev, NULL) when they want to unregister netdevices under rtnl_lock. Inline rollback_registered() and adjust the only remaining caller. Reviewed-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>