[mellaonox]: No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default (#7556)

No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default. And removing this will faster thermalctld exit speed
This commit is contained in:
Junchao-Mellanox 2021-05-09 01:33:37 +08:00 committed by GitHub
parent 2803fafe04
commit bfae15fb83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,15 +16,6 @@ class ThermalManager(ThermalManagerBase):
"""
cls._add_private_thermal_policy()
@classmethod
def deinitialize(cls):
"""
Destroy thermal manager, including any vendor specific cleanup. The default behavior of this function
is a no-op.
:return:
"""
cls.start_thermal_control_algorithm()
@classmethod
def start_thermal_control_algorithm(cls):
"""