X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_umm_ul.c;h=ab849f4d819b26de431322b2eae8e69641a107e7;hb=4d45b914f9e94203603d3b9fdbcb1aad361301dd;hp=3761777a780eecd4bbec7e4a24db97442b0b2190;hpb=5831bf6b3454aa200a92cd3e84209650734e4863;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_umm_ul.c b/src/5gnrrlc/kw_umm_ul.c index 3761777a7..ab849f4d8 100755 --- a/src/5gnrrlc/kw_umm_ul.c +++ b/src/5gnrrlc/kw_umm_ul.c @@ -690,7 +690,7 @@ KwUmHdr *umHdr; rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); + return RFAILED; } #else SRemPreMsg(dst,pdu); @@ -711,7 +711,7 @@ KwUmHdr *umHdr; "SRemPreMsgMult Failed for 10 bits SN UEID:%d CELLID:%d", rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); + return RFAILED; } #else SRemPreMsgMult(dst,2,pdu); @@ -741,7 +741,7 @@ KwUmHdr *umHdr; "SRemPreMsgMult Failed UEID:%d CELLID:%d", rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); + return RFAILED; } #else SRemPreMsgMult(dst,2,pdu); @@ -754,7 +754,7 @@ KwUmHdr *umHdr; "Received LI as 0 UEID:%d CELLID:%d", rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); + return RFAILED; } totalSz += umHdr->li[umHdr->numLi]; if ( pduSz <= totalSz ) @@ -770,7 +770,7 @@ KwUmHdr *umHdr; pduSz, rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); /* the situation where in the PDU size + return RFAILED; /* the situation where in the PDU size is something that does not match with the size in LIs*/ } @@ -793,7 +793,7 @@ KwUmHdr *umHdr; "SRemPreMsg Failed UEID:%d CELLID:%d", rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); + return RFAILED; } #else SRemPreMsg(dst,pdu); @@ -807,7 +807,7 @@ KwUmHdr *umHdr; "Received LI as 0 UEID:%d CELLID:%d", rbCb->rlcId.ueId, rbCb->rlcId.cellId); - RETVALUE(RFAILED); + return RFAILED; } totalSz += umHdr->li[umHdr->numLi]; pduSz--; @@ -815,7 +815,7 @@ KwUmHdr *umHdr; if (pduSz < totalSz) { - RETVALUE(RFAILED); /* the situation where in the PDU size is + return RFAILED; /* the situation where in the PDU size is something that does not match with the size in LIs*/ } @@ -826,9 +826,9 @@ KwUmHdr *umHdr; if (e) { /* PDU was constructed with LIs that exceeded KW_MAX_LI */ - RETVALUE(RFAILED); + return RFAILED; } - RETVALUE(ROK); + return ROK; } /**