diff options
author | Ido Schimmel <idosch@nvidia.com> | 2024-07-30 15:58:18 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-31 18:38:28 -0700 |
commit | e25f3040a61961c9f1bcb896b983a33b64d978e2 (patch) | |
tree | 231e9cd07207a75381789f3f9d3c7b4a0188fdd4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fb76ea1d4b12dab4ad1573f16b340e97174269b6 (diff) |
mlxsw: core_thermal: Simplify rollback
During rollback, instead of calling mlxsw_thermal_module_fini() for all
the modules, only call it for modules that were successfully
initialized. This is not a bug fix since mlxsw_thermal_module_fini()
first checks that the module was initialized.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://patch.msgid.link/905bebc45f6e246031f0c5c177bba8efe11e05f5.1722345311.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions