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/channel_auth.cpp b/command/channel_auth.cpp
index ba101e4..1ca68ce 100644
--- a/command/channel_auth.cpp
+++ b/command/channel_auth.cpp
@@ -52,7 +52,7 @@
         reinterpret_cast<GetChannelCapabilitiesResp*>(outPayload.data());
 
     // A canned response, since there is no user and channel management.
-    response->completionCode = IPMI_CC_OK;
+    response->completionCode = ipmi::ccSuccess;
 
     response->channelNumber = chNum;
 
@@ -278,7 +278,7 @@
     auto size = end - start;
 
     std::vector<uint8_t> rsp;
-    rsp.push_back(IPMI_CC_OK);
+    rsp.push_back(ipmi::ccSuccess);
     rsp.push_back(rspChannel);
     std::copy_n(records.data() + start, size, std::back_inserter(rsp));