From 5ad8e689aac1d6d417ef2fd7fd1dabee19874fc9 Mon Sep 17 00:00:00 2001 From: Ron He Date: Thu, 21 Nov 2024 19:22:36 -0800 Subject: [PATCH] Remove unused getter/setter for reachability group list size Summary: As titled. No longer used Reviewed By: shri-khare Differential Revision: D66030217 fbshipit-source-id: e8ba52816c8fb395acda6da68ed21e8c6ba9c5ff --- fboss/agent/state/SwitchSettings.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/fboss/agent/state/SwitchSettings.h b/fboss/agent/state/SwitchSettings.h index 656a6eed79f7e..2ab4a0461e2e5 100644 --- a/fboss/agent/state/SwitchSettings.h +++ b/fboss/agent/state/SwitchSettings.h @@ -565,24 +565,6 @@ class SwitchSettings } } - std::optional getReachabilityGroupListSize() const { - if (auto reachabilityGroupListSize = - cref()) { - return reachabilityGroupListSize->toThrift(); - } - return std::nullopt; - } - - void setReachabilityGroupListSize( - std::optional reachabilityGroupListSize) { - if (!reachabilityGroupListSize) { - ref().reset(); - } else { - set( - *reachabilityGroupListSize); - } - } - std::optional getSramGlobalFreePercentXoffThreshold() const { if (auto sramGlobalFreePercentXoffTh = cref()) {