X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=fhi_lib%2Flib%2Fsrc%2Fxran_transport.c;fp=fhi_lib%2Flib%2Fsrc%2Fxran_transport.c;h=72249bc53a962cea2907fcf4a3e0d66e08d83621;hb=892daba4c616407f16506415d5a69549519ef11d;hp=881f6f6c13151516ab93f12425f829f5178e7835;hpb=76b4495d593ccf45d712db1a3ec96fa9d2d8f5f5;p=o-du%2Fphy.git diff --git a/fhi_lib/lib/src/xran_transport.c b/fhi_lib/lib/src/xran_transport.c index 881f6f6..72249bc 100644 --- a/fhi_lib/lib/src/xran_transport.c +++ b/fhi_lib/lib/src/xran_transport.c @@ -154,7 +154,6 @@ int xran_build_ecpri_hdr(struct rte_mbuf *mbuf, uint32_t payloadlen; struct xran_ecpri_hdr *tmp; - tmp = (struct xran_ecpri_hdr *)rte_pktmbuf_append(mbuf, sizeof(struct xran_ecpri_hdr)); if(unlikely(tmp == NULL)) { print_err("Fail to allocate the space for eCPRI hedaer!");