Skip to content

Commit

Permalink
Fix Silverstone fan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen-ramamoorthi committed Jun 24, 2024
1 parent c55c098 commit 6b50843
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 ########################
##############################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def ipmi_raw(self, netfn, cmd):
if ret != 0:
status = False
else:
result = data
result = data.strip()

return status, result

Expand All @@ -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)
Expand All @@ -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

Expand Down

This file was deleted.

0 comments on commit 6b50843

Please sign in to comment.