commit | 8146458fcd7942861c754b85b5464ef2a8cfacbb | [log] [tgz] |
---|---|---|
author | Amit Cohen <amitc@mellanox.com> | Fri Apr 24 18:43:41 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 24 15:41:51 2020 -0700 |
tree | 9309e4055326b6899645ead0e493f0a3ee10f20c | |
parent | 1802136023c010759d9ed1ff2b6384bcbf5eb3f9 [diff] |
mlxsw: spectrum_span: Reduce nesting in mlxsw_sp_span_entry_configure() Use early return to avoid unnecessary nesting. Signed-off-by: Amit Cohen <amitc@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>