net: remove redundant ASSERT_RTNL() in queue setup functions
authorStanislav Fomichev <stfomichev@gmail.com>
Mon, 16 Jun 2025 16:21:15 +0000 (09:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Jun 2025 01:53:51 +0000 (18:53 -0700)
commit3a321b6b1f76a46102ae9a3977f7fdb8bc7c6e22
treed433b643228b0b6f268f89c076335f3849b05e53
parent1ead7501094c6a61461c0c98dde9ec5660fa1e24
net: remove redundant ASSERT_RTNL() in queue setup functions

The existing netdev_ops_assert_locked() already asserts that either
the RTNL lock or the per-device lock is held, making the explicit
ASSERT_RTNL() redundant.

Cc: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Stanislav Fomichev <stfomichev@gmail.com>
Link: https://patch.msgid.link/20250616162117.287806-5-stfomichev@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/dev.c