diff --git a/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/chassis.py b/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/chassis.py index 8e0927d1590ab..da898c9a147ed 100644 --- a/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/chassis.py +++ b/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/chassis.py @@ -335,10 +335,6 @@ def get_watchdog(self): return self._watchdog - def get_thermal_manager(self): - from .thermal_manager import ThermalManager - return ThermalManager - ############################################################## ###################### Device methods ######################## ############################################################## diff --git a/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/helper.py b/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/helper.py index 780f90597b732..3e2cb798df917 100644 --- a/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/helper.py +++ b/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/helper.py @@ -94,7 +94,7 @@ def ipmi_raw(self, netfn, cmd): if ret != 0: status = False else: - result = data + result = data.strip() return status, result @@ -107,7 +107,7 @@ def ipmi_fru_id(self, id, key=None): if ret != 0: status = False else: - result = data + result = data.strip() else: cmd2_args = ["grep", str(key)] status, result = self.run_command(cmd1_args, cmd2_args) @@ -122,7 +122,7 @@ def ipmi_set_ss_thres(self, id, threshold_key, value): if ret != 0: status = False else: - result = data + result = data.strip() return status, result diff --git a/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/thermal_manager.py b/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/thermal_manager.py deleted file mode 100644 index 5c70ccc80e93d..0000000000000 --- a/platform/broadcom/sonic-platform-modules-cel/silverstone/sonic_platform/thermal_manager.py +++ /dev/null @@ -1,21 +0,0 @@ -from sonic_platform_base.sonic_thermal_control.thermal_manager_base import ThermalManagerBase - - -class ThermalManager(ThermalManagerBase): - @classmethod - def initialize(cls): - """ - Initialize thermal manager, including register thermal condition types and thermal action types - and any other vendor specific initialization. - :return: - """ - return True - - @classmethod - def deinitialize(cls): - """ - Destroy thermal manager, including any vendor specific cleanup. The default behavior of this function - is a no-op. - :return: - """ - return True