diff options
| author | Danielle Ratson <danieller@nvidia.com> | 2021-12-20 12:56:12 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-12-20 11:32:20 +0000 |
| commit | 4bcbf50291f3b61ad231d31267842fcc73d7e6fd (patch) | |
| tree | ff7b4740542b95382365901fac901d737f7e1fed /tools/perf/scripts/python | |
| parent | mlxsw: Fix naming convention of MFDE fields (diff) | |
| download | linux-4bcbf50291f3b61ad231d31267842fcc73d7e6fd.tar.gz linux-4bcbf50291f3b61ad231d31267842fcc73d7e6fd.zip | |
mlxsw: core: Convert a series of if statements to switch case
Convert a series of if statements that handle different events to a
switch case statement. Encapsulate the per-event code in different
functions to simplify the code.
This is a preparation for subsequent patches that will add more events
that need to be handled.
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@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
