mlxsw: spectrum_router: simplify the return expression of __mlxsw_sp_router_init()
authorQinglang Miao <miaoqinglang@huawei.com>
Mon, 21 Sep 2020 13:10:41 +0000 (21:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Sep 2020 20:45:38 +0000 (13:45 -0700)
commit2595b113d9d9674b98ee4c03e9a917e20b352776
tree264d3734d02bf97c32105859ceeb92a1d26b1b5e
parentf621df96acb44164b1375445e1c7b372979a2b1a
mlxsw: spectrum_router: simplify the return expression of __mlxsw_sp_router_init()

Simplify the return expression.

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