]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'net-inline-rollback_registered-functions'
authorJakub Kicinski <kuba@kernel.org>
Thu, 21 Jan 2021 05:04:21 +0000 (21:04 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jan 2021 05:04:21 +0000 (21:04 -0800)
After recent changes to the error path of register_netdevice()
we no longer need a version of unregister_netdevice_many() which
does not set net_todo. We can inline the rollback_registered()
functions into respective unregister_netdevice() calls.

Link: https://lore.kernel.org/r/20210119202521.3108236-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge