Skip to content

Commit 414ab47

Browse files
committed
remove unused device data function
Signed-off-by: Yuanzhe, Liu <[email protected]>
1 parent 677106f commit 414ab47

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,6 @@ def get_fan_count(cls):
247247
def is_fan_hotswapable(cls):
248248
return utils.read_int_from_file('/run/hw-management/config/hotplug_fans') > 0
249249

250-
@classmethod
251-
@utils.read_only_cache()
252-
def get_leakage_sensor_count(cls):
253-
return len(glob.glob('/var/run/hw-management/system/leakage*'))
254-
255250
@classmethod
256251
@utils.read_only_cache()
257252
def get_psu_count(cls):

0 commit comments

Comments
 (0)