mlxsw: spectrum_router: Remove RTNL assertion
authorIdo Schimmel <idosch@nvidia.com>
Mon, 22 Mar 2021 15:58:42 +0000 (17:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2021 20:45:45 +0000 (13:45 -0700)
commit08c99b92d76c5bb0208cf89cafd502bdb3b2c98c
treeb814ab150ccc9174b79d5fa6cd6c1c7f7b350c0c
parent0353b4a96b7a9f60fe20d1b3ebd4931a4085f91c
mlxsw: spectrum_router: Remove RTNL assertion

Remove the RTNL assertion in the nexthop notifier block. The assertion
is not needed given RTNL is never assumed to be taken.

This is a preparation for future patches where mlxsw will start handling
nexthop events that are not always sent with RTNL held.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c