[Epic-ID: ODUHIGH-516][Task-ID: ODUHIGH-553] Transid fixes in E2AP procedures
[o-du/l2.git] / src / 5gnrmac / mac_cfg_hdl.c
index 6b09b9a..dac40ba 100644 (file)
@@ -1058,11 +1058,6 @@ uint8_t MacSendStatsRspToDuApp(MacStatsRsp *statsRsp)
 
     DU_LOG("\nINFO  -->  MAC : MacSendStatsRspToDuApp: Sending Statistics Response to DU APP");
 
-   /* Workaround : To skip corrupted memory, allocating a pointer that will
-    * remain unused */
-   uint8_t *dummyPtr = NULLP;
-   MAC_ALLOC_SHRABL_BUF(dummyPtr, sizeof(uint8_t));
-
    MAC_ALLOC_SHRABL_BUF(macStatsRsp, sizeof(MacStatsRsp));
    if(macStatsRsp == NULLP)
    {
@@ -1084,8 +1079,6 @@ uint8_t MacSendStatsRspToDuApp(MacStatsRsp *statsRsp)
       }
    }
 
-   /* Workaround : Freeing the dummy pointer */
-   MAC_FREE_SHRABL_BUF(MAC_MEM_REGION, MAC_POOL, dummyPtr, sizeof(uint8_t));
    return ret;
 }