From c8487a15a8c73fc1560f5ba42deeeab78f96b080 Mon Sep 17 00:00:00 2001 From: Stephen Sun Date: Sun, 7 Apr 2024 11:28:47 +0000 Subject: [PATCH] Fix review comments Signed-off-by: Stephen Sun --- orchagent/flex_counter/flex_counter_manager.h | 1 - orchagent/saihelper.cpp | 1 + orchagent/saihelper.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/orchagent/flex_counter/flex_counter_manager.h b/orchagent/flex_counter/flex_counter_manager.h index 92316d7dc0..80a9e606e6 100644 --- a/orchagent/flex_counter/flex_counter_manager.h +++ b/orchagent/flex_counter/flex_counter_manager.h @@ -12,7 +12,6 @@ extern "C" { #include "sai.h" -#include "sairedis.h" } enum class StatsMode diff --git a/orchagent/saihelper.cpp b/orchagent/saihelper.cpp index 667efca225..c55d17086a 100644 --- a/orchagent/saihelper.cpp +++ b/orchagent/saihelper.cpp @@ -3,6 +3,7 @@ extern "C" { #include "sai.h" #include "saistatus.h" #include "saiextensions.h" +#include "sairedis.h" } #include diff --git a/orchagent/saihelper.h b/orchagent/saihelper.h index a3ab178dd2..693fffd742 100644 --- a/orchagent/saihelper.h +++ b/orchagent/saihelper.h @@ -5,7 +5,6 @@ #include #include "orch.h" #include "producertable.h" -#include #define IS_ATTR_ID_IN_RANGE(attrId, objectType, attrPrefix) \ ((attrId) >= SAI_ ## objectType ## _ATTR_ ## attrPrefix ## _START && (attrId) <= SAI_ ## objectType ## _ATTR_ ## attrPrefix ## _END)