Revert "[Epic-ID: ODUHIGH-462][Task-ID: ODUHIGH-472] Implementation of drx timer"
[o-du/l2.git] / src / 5gnrmac / rg.h
index bf58326..2253741 100755 (executable)
@@ -36,8 +36,6 @@
 #ifndef __RGH__
 #define __RGH__
 
-#include "rl_interface.h"
-#include "rl_common.h"
 
 
 #ifdef L2_OPTMZ
@@ -246,9 +244,7 @@ uint32_t macHeader[2];
 
 /* Free shared memory, received through LWLC */
 #define MAC_FREE_MEM(_region, _pool, _datPtr, _size)         \
-   if(_datPtr)                                               \
-       SPutSBuf(_region, _pool,(Data *)_datPtr, _size);      \
-   _datPtr = NULL;
+       MAC_FREE(_datPtr, _size);      \
 
 #define RG_LCG_ISCFGD(lcg) ((lcg)->lcgId != RG_INVALID_LCG_ID)
 /* Corrected the check for dlCcchId */