Skip to content

Commit a04594e

Browse files
committed
address review comments
Signed-off-by: Dante Su <[email protected]>
1 parent e9eeb9a commit a04594e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

orchagent/portsorch.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -3080,7 +3080,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
30803080
}
30813081
if (p.m_cap_lt < 1)
30823082
{
3083-
SWSS_LOG_ERROR("%s: LT is not supported by the ASIC", alias.c_str());
3083+
SWSS_LOG_WARN("%s: LT is not supported by the ASIC", alias.c_str());
30843084
// Don't retry
30853085
it = consumer.m_toSync.erase(it);
30863086
continue;
@@ -6128,8 +6128,6 @@ bool PortsOrch::getPortLinkTrainingRxStatus(const Port &port, sai_port_link_trai
61286128

61296129
sai_attribute_t attr;
61306130
attr.id = SAI_PORT_ATTR_LINK_TRAINING_RX_STATUS;
6131-
attr.value.u32 = 0;
6132-
61336131
sai_status_t ret = sai_port_api->get_port_attribute(port.m_port_id, 1, &attr);
61346132
if (ret != SAI_STATUS_SUCCESS)
61356133
{

0 commit comments

Comments
 (0)