Skip to content

Commit

Permalink
[device/celestica-e1031]: fix lgtm (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirut Getbamrung authored Sep 22, 2021
1 parent 4d6b1d8 commit dfeeee5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def get_sfp(self, index):
Returns:
An object dervied from SfpBase representing the specified sfp
"""
sfp = None
if not self.sfp_module_initialized:
self.__initialize_sfp()

Expand Down
1 change: 0 additions & 1 deletion device/celestica/x86_64-cel_e1031-r0/sonic_platform/sfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from sonic_platform_base.sfp_base import SfpBase
from sonic_platform_base.sonic_sfp.sff8472 import sff8472InterfaceId
from sonic_platform_base.sonic_sfp.sff8472 import sff8472Dom
from sonic_platform_base.sonic_sfp.sff8472 import sffbase
from sonic_platform_base.sonic_sfp.sff8436 import sff8436InterfaceId
from sonic_platform_base.sonic_sfp.sff8436 import sff8436Dom
from sonic_platform_base.sonic_sfp.inf8628 import inf8628InterfaceId
Expand Down

0 comments on commit dfeeee5

Please sign in to comment.