Skip to content

Commit

Permalink
remove unused import and redundant function
Browse files Browse the repository at this point in the history
Signed-off-by: Kebo Liu <kebol@nvidia.com>
  • Loading branch information
keboliu committed Apr 18, 2022
1 parent a1ad32a commit 05567a9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from sonic_py_common.logger import Logger
import os
from functools import reduce
from .utils import load_json_file, extract_RJ45_ports_index
from .utils import extract_RJ45_ports_index
from . import utils
from .device_data import DeviceDataManager
from .sfp import SFP, RJ45Port, deinitialize_sdk_handle
Expand Down
3 changes: 0 additions & 3 deletions platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -800,9 +800,6 @@ def get_transceiver_info(self):

return transceiver_info_dict

def get_reset_status(self):
return False

def get_lpmode(self):
"""
Retrieves the lpmode (low power mode) status of this SFP
Expand Down

0 comments on commit 05567a9

Please sign in to comment.