Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Dante Su <[email protected]>
  • Loading branch information
ds952811 committed May 19, 2022
1 parent e9eeb9a commit a04594e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3080,7 +3080,7 @@ void PortsOrch::doPortTask(Consumer &consumer)
}
if (p.m_cap_lt < 1)
{
SWSS_LOG_ERROR("%s: LT is not supported by the ASIC", alias.c_str());
SWSS_LOG_WARN("%s: LT is not supported by the ASIC", alias.c_str());
// Don't retry
it = consumer.m_toSync.erase(it);
continue;
Expand Down Expand Up @@ -6128,8 +6128,6 @@ bool PortsOrch::getPortLinkTrainingRxStatus(const Port &port, sai_port_link_trai

sai_attribute_t attr;
attr.id = SAI_PORT_ATTR_LINK_TRAINING_RX_STATUS;
attr.value.u32 = 0;

sai_status_t ret = sai_port_api->get_port_attribute(port.m_port_id, 1, &attr);
if (ret != SAI_STATUS_SUCCESS)
{
Expand Down

0 comments on commit a04594e

Please sign in to comment.