diff --git a/sonic-xcvrd/xcvrd/xcvrd_utilities/media_settings_parser.py b/sonic-xcvrd/xcvrd/xcvrd_utilities/media_settings_parser.py index 4242e8571..7d584600d 100644 --- a/sonic-xcvrd/xcvrd/xcvrd_utilities/media_settings_parser.py +++ b/sonic-xcvrd/xcvrd/xcvrd_utilities/media_settings_parser.py @@ -78,9 +78,6 @@ def get_lane_speed_key(physical_port, port_speed, lane_count): host_electrical_interface_id = appl_adv_dict[app_id].get('host_electrical_interface_id') if host_electrical_interface_id: lane_speed_key = LANE_SPEED_KEY_PREFIX + host_electrical_interface_id.split()[0] - if not lane_speed_key: - helper_logger.log_error("No host_electrical_interface_id found for CMIS module on physical port {}" - ", failed to construct lane_speed_key".format(physical_port)) else: # Directly calculate lane speed and use it as key, this is especially useful for # non-CMIS transceivers which typically have no host_electrical_interface_id