JIRA ID ODUHIGH193: Allocation and deallocation of MaceCellCfg sharable buffer
[o-du/l2.git] / src / 5gnrmac / rg_tom.c
index f4cd5d9..e01b4aa 100755 (executable)
@@ -597,17 +597,8 @@ SlotIndInfo slotInd
 #endif
 
    /* Mux Pdu for Msg4 */
-   SlotIndInfo muxTimingInfo;
-   memset(&muxTimingInfo, 0, sizeof(SlotIndInfo));
-   MacDlSlot *currDlSlot = NULLP;
-   ADD_DELTA_TO_TIME(slotInd, muxTimingInfo, PHY_DELTA);
-   currDlSlot = &macCb.macCell->dlSlot[muxTimingInfo.slot];
-   if(currDlSlot->dlInfo.msg4Alloc)
-       {
-      BuildAndSendMsg4MuxPdu(currDlSlot->dlInfo.msg4Alloc);
-               currDlSlot = NULLP;
-   }
-   
+   buildAndSendMuxPdu(slotInd);
+
    /* Trigger for DL TTI REQ */
    handleDlTtiReq(slotInd);