Skip to content

Commit

Permalink
Revert change that's no needed anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmanman committed Feb 13, 2021
1 parent a348eb6 commit 5df61d8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions orchagent/portsorch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2264,11 +2264,8 @@ void PortsOrch::doPortTask(Consumer &consumer)
* 1. Remove ports which don't exist anymore
* 2. Create new ports
* 3. Initialize all ports
*
* In order to make sure all ports are received, check the size of m_lanesAliasSpeedMap. If the size is
* equal to the port count sent by portsyncd, then all ports are received.
*/
if ((m_portConfigState == PORT_CONFIG_RECEIVED || m_portConfigState == PORT_CONFIG_DONE))
if (m_portConfigState == PORT_CONFIG_RECEIVED || m_portConfigState == PORT_CONFIG_DONE)
{
for (auto it = m_portListLaneMap.begin(); it != m_portListLaneMap.end();)
{
Expand Down

0 comments on commit 5df61d8

Please sign in to comment.