Skip to content

Commit 7809ec8

Browse files
Junchao-MellanoxCarl Keene
authored and
Carl Keene
committed
[mellaonox]: No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default (sonic-net#7556)
No need enable thermal zones in thermal_manager.deinitialize since they are enabled by default. And removing this will faster thermalctld exit speed
1 parent 01ced28 commit 7809ec8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

platform/mellanox/mlnx-platform-api/sonic_platform/thermal_manager.py

-9
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ def initialize(cls):
1616
"""
1717
cls._add_private_thermal_policy()
1818

19-
@classmethod
20-
def deinitialize(cls):
21-
"""
22-
Destroy thermal manager, including any vendor specific cleanup. The default behavior of this function
23-
is a no-op.
24-
:return:
25-
"""
26-
cls.start_thermal_control_algorithm()
27-
2819
@classmethod
2920
def start_thermal_control_algorithm(cls):
3021
"""

0 commit comments

Comments
 (0)