fixed unused-function and unused variable warnings
[o-du/l2.git] / src / 5gnrsch / rg_sch_utl.c
index 5f39b7a..cbf4598 100755 (executable)
@@ -236,6 +236,7 @@ PRIVATE S16 rgSCHChkBoUpdate ARGS((
          RgSchCellCb    *cell,
          RgInfCmnBoRpt  *boUpdt
          ));
+#ifdef UNUSE_FUN
 #ifdef TFU_UPGRADE
 PRIVATE U8 rgSCHUtlFetchPcqiBitSz ARGS((
  RgSchCellCb    *cell,
@@ -243,6 +244,7 @@ PRIVATE U8 rgSCHUtlFetchPcqiBitSz ARGS((
  U8           numTxAnt
  ));
 #endif
+#endif
 /* sorted in ascending order of tbSz */
 CONSTANT struct rgSchUtlBcchPcchTbSz
 {
@@ -11240,6 +11242,7 @@ U32           *prbReqrd;
 
    RETVOID;
 } /* rgSchUtlCalcTotalPrbReq */
+#ifdef UNUSE_FUN
 #ifdef TFU_UPGRADE
 /***********************************************************
  *
@@ -11397,6 +11400,7 @@ U8            numTxAnt;
    RETVALUE(pcqiSz);
 }
 #endif
+#endif
 /**
  * @brief  Utility function to returns the number of subbands based on the 
  *         requested bytes.