X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Frgm.c;h=275468f46e8b82cef76e6e83287b219eeef34374;hb=604190ac7e354996f34ebfae0cdd00962811393f;hp=4e9e42d81c16537f108432240c9fb06f38fb7339;hpb=829bbd114f1c3dc00c1da47bca0a8207c049df3f;p=o-du%2Fl2.git diff --git a/src/cm/rgm.c b/src/cm/rgm.c index 4e9e42d81..275468f46 100755 --- a/src/cm/rgm.c +++ b/src/cm/rgm.c @@ -36,25 +36,9 @@ */ /* header include files (.h) */ -#include "envopt.h" /* environment options */ -#include "envdep.h" /* environment dependent */ -#include "envind.h" /* environment independent */ -#include "gen.h" /* general */ -#include "ssi.h" /* system services */ -#include "cm_tkns.h" /* Common Token Defines */ -#include "cm_llist.h" /* Common Link List Defines */ -#include "cm_hash.h" /* Common Hash List Defines */ -#include "cm_lte.h" /* Common LTE Defines */ +#include "common_def.h" #include "rgm.h" /* RGM Interface defines */ - /* header/extern include files (.x) */ -#include "gen.x" /* general */ -#include "ssi.x" /* system services */ -#include "cm_tkns.x" /* Common Token Definitions */ -#include "cm_llist.x" /* Common Link List Definitions */ -#include "cm_lib.x" /* Common Library Definitions */ -#include "cm_hash.x" /* Common Hash List Definitions */ -#include "cm_lte.x" /* Common LTE Defines */ #include "rgm.x" /* RGM Interface includes */ #ifdef RGM_LWLC @@ -213,55 +197,6 @@ Reason reason; RETVALUE(SPstTsk(pst,mBuf)); } -#if 0 - -/** -* @brief Request from RRM to MAC to Unbind the interface saps -* -* @details -* -* Function : cmUnpkLwLcRgmUbndReq -* -* @param[in] Pst* pst -* @param[in] SpId spId -* @param[in] Reason reason -* @return S16 -* -# ROK -**/ -#ifdef ANSI -PUBLIC S16 cmUnpkLwLcRgmUbndReq -( -RgmUbndReq func, -Pst *pst, -Buffer *mBuf -) -#else -PUBLIC S16 cmUnpkLwLcRgmUbndReq(func, pst, mBuf) -RgmUbndReq func; -Pst *pst; -Buffer *mBuf; -#endif -{ - SpId spId; - Reason reason; - - TRC3(cmUnpkLwLcRgmUbndReq) - - if (SUnpkS16(&spId, mBuf) != ROK) - { - SPutMsg(mBuf); - RETVALUE(RFAILED); - } - if (SUnpkS16(&reason, mBuf) != ROK) - { - SPutMsg(mBuf); - RETVALUE(RFAILED); - } - SPutMsg(mBuf); - RETVALUE((*func)(pst, spId, reason)); -} -#endif - /** * @brief Confirmation from MAC to RRM for the bind/Unbind * request for the interface saps