From c7e1308ec6e00035136da09f6cb0f43bf5f82b46 Mon Sep 17 00:00:00 2001 From: kenneth-arista <93353051+kenneth-arista@users.noreply.github.com> Date: Wed, 12 Jul 2023 18:31:30 -0700 Subject: [PATCH] Remove redundant updateFabricPortState (#2850) Call to updateFabricPortState in FabricPortsOrch::getFabricPortList() is redundant as FabricPortsOrch::doTask() already calls it. This change helps mitigate the MHz spikes during boot up of the supe as described in https://github.com/sonic-net/sonic-buildimage/issues/15321. --- orchagent/fabricportsorch.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/orchagent/fabricportsorch.cpp b/orchagent/fabricportsorch.cpp index 5fabdfc8f5..d521e02b1a 100644 --- a/orchagent/fabricportsorch.cpp +++ b/orchagent/fabricportsorch.cpp @@ -141,8 +141,6 @@ int FabricPortsOrch::getFabricPortList() m_getFabricPortListDone = true; - updateFabricPortState(); - return FABRIC_PORT_SUCCESS; }