[Epic-ID: ODUHIGH-464][Task-ID: ODUHIGH-483] Memeory related fix in FDD and TDD mode
[o-du/l2.git] / src / 5gnrsch / rg_sch_dbm.c
index 92dde46..cd1534f 100755 (executable)
@@ -31,9 +31,6 @@
 /** @file rg_sch_dbm.c
 @brief This file contains the APIs exposed for the database handling of the scheduler.
 */
-static const char* RLOG_MODULE_NAME="MAC";
-static int RLOG_FILE_ID=230;
-static int RLOG_MODULE_ID=4096;
 /* header include files -- defines (.h) */
 #include "common_def.h"
 #include "lrg.h"
@@ -53,8 +50,6 @@ static int RLOG_MODULE_ID=4096;
 #include "rg_sch_inf.x"
 #include "rg_sch.x"
 #include "rg_sch_cmn.x"
-#include "rl_interface.h"
-#include "rl_common.h"
 
 
 /* local defines */
@@ -1312,7 +1307,7 @@ RgSchRntiLnk* rgSCHDbmGetRnti(RgSchCellCb *cellCb)
 
    if (!(cellCb->rntiDb.freeRnti))
    {
-      RLOG_ARG1(L_ERROR,DBG_CELLID,cellCb->cellId,"RNTI exhausted count:%d",
+      DU_LOG("\nERROR  -->  SCH : RNTI exhausted count:%d",
                 cellCb->rntiDb.count);
       return (NULLP);
    }
@@ -1335,7 +1330,7 @@ RgSchRntiLnk* rgSCHDbmGetRnti(RgSchCellCb *cellCb)
 
    cellCb->rntiDb.count--;
 
-   printf("rgSCHDbmGetRnti::rntiLnk->rnti %u\n",rntiLnk->rnti);
+   DU_LOG("\nINFO  -->  SCH : rgSCHDbmGetRnti::rntiLnk->rnti %u\n",rntiLnk->rnti);
    return (rntiLnk);
 } /* rgSCHDbmGetRnti */