remove IPMI_CC_OK

Since IPMI_CC_OK declared in api.h has been gradually deprecated,
this submission will use ipmi::ccSuccess in api.hpp instead.

https://gerrit.openbmc.org/c/openbmc/phosphor-host-ipmid/+/78568

Change-Id: I833cc854112c5faac009639b044b843ec36f18de
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/command/session_cmds.cpp b/command/session_cmds.cpp
index 5ee7f8f..3604736 100644
--- a/command/session_cmds.cpp
+++ b/command/session_cmds.cpp
@@ -36,7 +36,7 @@
     std::vector<uint8_t> outPayload(sizeof(SetSessionPrivLevelResp));
     auto response =
         reinterpret_cast<SetSessionPrivLevelResp*>(outPayload.data());
-    response->completionCode = IPMI_CC_OK;
+    response->completionCode = ipmi::ccSuccess;
     uint8_t reqPrivilegeLevel = request->reqPrivLevel;
 
     auto session = session::Manager::get().getSession(handler->sessionID);