diff options
author | Petr Machata <[email protected]> | 2023-06-09 19:32:06 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-06-12 09:49:29 +0100 |
commit | 50f6c3d57e9a7d11ff935198c1d55d37975c2fa4 (patch) | |
tree | f0d214cba946b9dac7a456db997b45722c7cbf8b /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | e069ba07e6c7af69e119316bc87ff44869095f49 (diff) |
mlxsw: spectrum_router: mlxsw_sp_router_fini(): Extract a helper variable
Make mlxsw_sp_router_fini() more similar to the _init() function (and more
concise) by extracting the `router' handle to a named variable and using
that throughout. The availability of a dedicated `router' variable will
come in handy in following patches.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Amit Cohen <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions