diff options
| author | Amit Cohen <amitc@mellanox.com> | 2020-04-24 18:43:41 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-04-24 15:41:51 -0700 |
| commit | 8146458fcd7942861c754b85b5464ef2a8cfacbb (patch) | |
| tree | 9309e4055326b6899645ead0e493f0a3ee10f20c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| 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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
