From 56d452c54cec79ebff4faa7b1a3aa197af9753f6 Mon Sep 17 00:00:00 2001 From: Akshay Tondak Date: Wed, 16 Oct 2024 20:43:23 -0700 Subject: [PATCH] CR-1217061 revert (#8540) Signed-off-by: Akshay Tondak Co-authored-by: Akshay Tondak --- src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp | 3 +-- src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp index c42eab062a6..9c1d3b4f0dc 100644 --- a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp +++ b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.cpp @@ -45,7 +45,6 @@ SubCmdAdvanced::SubCmdAdvanced(bool _isHidden, bool _isDepricated, bool _isPreli setIsPreliminary(_isPreliminary); m_commonOptions.add_options() - ("device,d", boost::program_options::value(&m_device), "The Bus:Device.Function (e.g., 0000:d8:00.0) device of interest") ("help", boost::program_options::bool_switch(&m_help), "Help to use this sub-command") ; @@ -79,7 +78,7 @@ SubCmdAdvanced::execute(const SubCmdOptions& _options) const // No suboption print help if (!optionOption) { - printHelp(false, "", XBU::get_device_class(m_device, true)); + printHelp(); return; } diff --git a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h index b34dc60a72c..870454e6676 100644 --- a/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h +++ b/src/runtime_src/core/tools/xbutil2/SubCmdAdvanced.h @@ -17,7 +17,6 @@ class SubCmdAdvanced : public SubCmd { private: bool m_help; - std::string m_device; }; #endif