Commit 14318639 authored by Robert Schmidt's avatar Robert Schmidt

Remove unused app_io_xran_sfidx_get(): uninitialized variables

parent ad995d8f
......@@ -90,29 +90,11 @@ app_io_xran_if_ctrl_get(uint32_t o_xu_id)
}
}
int32_t
app_io_xran_sfidx_get(uint8_t nNrOfSlotInSf)
{
int32_t nSfIdx = -1;
uint32_t nFrameIdx;
uint32_t nSubframeIdx;
uint32_t nSlotIdx;
uint64_t nSecond;
uint32_t nXranTime = xran_get_slot_idx(0, &nFrameIdx, &nSubframeIdx, &nSlotIdx, &nSecond);
nSfIdx = nFrameIdx*NUM_OF_SUBFRAME_PER_FRAME*nNrOfSlotInSf
+ nSubframeIdx*nNrOfSlotInSf
+ nSlotIdx;
return nSfIdx;
}
void
app_io_xran_fh_rx_callback(void *pCallbackTag, xran_status_t status)
{
uint8_t Numerlogy = app_io_xran_fh_config[0].frame_conf.nNumerology;
uint8_t nNrOfSlotInSf = 1<<Numerlogy;
int32_t sfIdx = app_io_xran_sfidx_get(nNrOfSlotInSf);
int32_t nCellIdx;
int32_t sym, nSlotIdx;
struct xran_cb_tag *pTag = (struct xran_cb_tag *) pCallbackTag;
......
......@@ -141,7 +141,6 @@ struct bbu_xran_io_if* app_io_xran_if_alloc(void);
struct bbu_xran_io_if* app_io_xran_if_get(void);
void app_io_xran_if_free(void);
struct xran_io_shared_ctrl * app_io_xran_if_ctrl_get(uint32_t o_xu_id);
int32_t app_io_xran_sfidx_get(uint8_t nNrOfSlotInSf);
int32_t app_io_xran_interface(uint32_t o_xu_id, RuntimeConfig *p_o_xu_cfg, UsecaseConfig* p_use_cfg);
int32_t app_io_xran_iq_content_init(uint32_t o_xu_id, RuntimeConfig *p_o_xu_cfg);
......
......@@ -141,7 +141,6 @@ struct bbu_xran_io_if* app_io_xran_if_alloc(void);
struct bbu_xran_io_if* app_io_xran_if_get(void);
void app_io_xran_if_free(void);
struct xran_io_shared_ctrl * app_io_xran_if_ctrl_get(uint32_t o_xu_id);
int32_t app_io_xran_sfidx_get(uint8_t nNrOfSlotInSf);
int32_t app_io_xran_interface(uint32_t o_xu_id, RuntimeConfig *p_o_xu_cfg, UsecaseConfig* p_use_cfg);
int32_t app_io_xran_iq_content_init(uint32_t o_xu_id, RuntimeConfig *p_o_xu_cfg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment