diff options
| author | Ido Schimmel <idosch@nvidia.com> | 2021-03-29 13:09:44 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-03-29 13:37:25 -0700 |
| commit | 50401f292434d5fb99f3f0c9b861f8a84c151ecc (patch) | |
| tree | 05f101f2ed378c9fcf09906df31bab46e0f04025 /tools/perf/scripts/python | |
| parent | mlxsw: spectrum_matchall: Perform protocol check earlier (diff) | |
| download | linux-50401f292434d5fb99f3f0c9b861f8a84c151ecc.tar.gz linux-50401f292434d5fb99f3f0c9b861f8a84c151ecc.zip | |
mlxsw: spectrum_matchall: Convert if statements to a switch statement
Previous patch moved the protocol check out of the action check, so
these if statements can now be converted to a switch statement. Perform
the conversion.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
