Remove declared ledGroups variables from json-parser.hpp

Since not all companies use ledManager to enable `use-json` by
default, the declaration of ledGroups should not be defined in
the json-parser.hpp file.
Here we use hard-coded way to declare ledGroups.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I7def887614b246f74dbd0739d563f01661b1f8f8
diff --git a/manager/json-parser.hpp b/manager/json-parser.hpp
index e7e102f..05f1a6d 100644
--- a/manager/json-parser.hpp
+++ b/manager/json-parser.hpp
@@ -21,8 +21,6 @@
 using PriorityMap =
     std::unordered_map<std::string, phosphor::led::Layout::Action>;
 
-static constexpr auto ledGroups = "/xyz/openbmc_project/led/groups";
-
 /** @brief Parse LED JSON file and output Json object
  *
  *  @param[in] path - path of LED JSON file
@@ -112,7 +110,7 @@
 
     for (const auto& entry : leds)
     {
-        fs::path tmpPath(std::string{ledGroups});
+        fs::path tmpPath("/xyz/openbmc_project/led/groups");
         tmpPath /= entry.value("group", "");
         auto objpath = tmpPath.string();
         auto members = entry.value("members", empty);