X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2F5gnrrlc%2Fkw_udx_dl.c;h=a25f80559334b95699890a587679358f7956192b;hb=29b5f01d779caab32dbc5b3686a5d917e4c818ec;hp=2cc94e4ded0b2b45864121eca1568ce33a483e0d;hpb=5625a52ad68f6ad93684e68bbbdbaef0d462cf9a;p=o-du%2Fl2.git diff --git a/src/5gnrrlc/kw_udx_dl.c b/src/5gnrrlc/kw_udx_dl.c index 2cc94e4de..a25f80559 100755 --- a/src/5gnrrlc/kw_udx_dl.c +++ b/src/5gnrrlc/kw_udx_dl.c @@ -32,18 +32,7 @@ static int RLOG_MODULE_ID=262144; static int RLOG_FILE_ID=203; /* header include files (.h) */ -#include "envopt.h" /* environment options */ -#include "envdep.h" /* environment dependent */ -#include "envind.h" /* environment independent */ - -#include "gen.h" /* general */ -#include "ssi.h" /* system services */ -#include "cm5.h" /* common timer defines */ -#include "cm_tkns.h" /* common tokens defines */ -#include "cm_mblk.h" /* common memory allocation library defines */ -#include "cm_llist.h" /* common link list defines */ -#include "cm_hash.h" /* common hash list defines */ -#include "cm_lte.h" /* common LTE defines */ +#include "common_def.h" #include "lkw.h" /* LKW defines */ #include "ckw.h" /* CKW defines */ #include "kwu.h" /* KWU defines */ @@ -56,16 +45,6 @@ static int RLOG_FILE_ID=203; #include "kw_dl.h" /* extern (.x) include files */ -#include "gen.x" /* general */ -#include "ssi.x" /* system services */ - -#include "cm5.x" /* common timer library */ -#include "cm_tkns.x" /* common tokens */ -#include "cm_mblk.x" /* common memory allocation */ -#include "cm_llist.x" /* common link list */ -#include "cm_hash.x" /* common hash list */ -#include "cm_lte.x" /* common LTE includes */ -#include "cm_lib.x" /* common memory allocation library */ #include "lkw.x" /* LKW */ #include "ckw.x" /* CKW */ #include "kwu.x" /* KWU */ @@ -281,7 +260,6 @@ CkwCfgInfo *cfg; { CkwCfgCfmInfo *cfgCfm; U8 idx; - S16 ret = ROK; KwCb *tKwCb; Pst *pstUdxCfm; @@ -298,18 +276,6 @@ CkwCfgInfo *cfg; pstUdxCfm = &(tKwCb->u.dlCb->udxDlSap[spId].pst); KWDBGP_BRIEF(tKwCb,"spId(%d)\n", spId); - - /* Validate SAP ID under ERRORCLS */ - KW_VALDATE_SAP(tKwCb,spId, - (&tKwCb->u.dlCb->udxDlSap[spId]), - ret); - if (ret != ROK) - { - /* kw002.201 Freeing from proper region */ - /* only RLC UL will free it KW_PST_FREE(pst->region, pst->pool, cfg, sizeof(CkwCfgInfo)); */ - RETVALUE(RFAILED); - } - /* Allocate memory and memset to 0 for cfmInfo */ KW_ALLOC_SHRABL_BUF_WC(pstUdxCfm->region, pstUdxCfm->pool,