mlxsw: spectrum_router: Simplify a piece of code
authorPetr Machata <petrm@mellanox.com>
Mon, 31 Jul 2017 07:27:28 +0000 (09:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jul 2017 21:44:33 +0000 (14:44 -0700)
commitf1b1f273aec0478c17ead69c5f285edd495d3d58
treea4199af07b2f2e1a916ec58d1576767b6e3f0d04
parent83930cd76abc81c23e355a7df8b1c0646a55df43
mlxsw: spectrum_router: Simplify a piece of code

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