Remove unused rrc_rlc_register_rrc()
This commit is contained in:
@@ -184,13 +184,6 @@ rlc_op_status_t rrc_rlc_config_req(const protocol_ctxt_t *const, const srb_flag_
|
||||
*/
|
||||
rlc_op_status_t rrc_rlc_data_req (const protocol_ctxt_t *const, const MBMS_flag_t, const rb_id_t, mui_t, confirm_t, sdu_size_t, char *);
|
||||
|
||||
/*! \fn void rrc_rlc_register_rrc ( void (*rrc_data_indP) (const protocol_ctxt_t* const ctxtP, const rb_id_t rb_idP, sdu_size_t sdu_sizeP, char* sduP), void (*rrc_data_confP) (const protocol_ctxt_t* const ctxtP, const rb_id_t rb_idP, mui_t muiP, rlc_tx_status_t statusP)
|
||||
* \brief This function is called by RRC to register its DATA-INDICATE and DATA-CONFIRM handlers to RLC layer.
|
||||
* \param[in] rrc_data_indP Pointer on RRC data indicate function.
|
||||
* \param[in] rrc_data_confP Pointer on RRC data confirm callback function.
|
||||
*/
|
||||
void rrc_rlc_register_rrc (rrc_data_ind_cb_t rrc_data_indP, rrc_data_conf_cb_t rrc_data_confP);
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// PUBLIC INTERFACE WITH MAC
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -1064,11 +1064,6 @@ rlc_op_status_t rrc_rlc_config_req (
|
||||
return RLC_OP_STATUS_OK;
|
||||
}
|
||||
|
||||
void rrc_rlc_register_rrc (rrc_data_ind_cb_t rrc_data_indP, rrc_data_conf_cb_t rrc_data_confP)
|
||||
{
|
||||
/* nothing to do */
|
||||
}
|
||||
|
||||
void nr_rlc_remove_ue(int rnti)
|
||||
{
|
||||
LOG_W(RLC, "remove UE %x\n", rnti);
|
||||
|
||||
@@ -976,11 +976,6 @@ rlc_op_status_t rrc_rlc_config_req (
|
||||
return RLC_OP_STATUS_OK;
|
||||
}
|
||||
|
||||
void rrc_rlc_register_rrc (rrc_data_ind_cb_t rrc_data_indP, rrc_data_conf_cb_t rrc_data_confP)
|
||||
{
|
||||
/* nothing to do */
|
||||
}
|
||||
|
||||
rlc_op_status_t rrc_rlc_remove_ue (const protocol_ctxt_t* const x)
|
||||
{
|
||||
LOG_D(RLC, "%s:%d:%s: remove UE %ld\n", __FILE__, __LINE__, __FUNCTION__, x->rntiMaybeUEid);
|
||||
|
||||
@@ -56,7 +56,6 @@ rrc_init_global_param(
|
||||
)
|
||||
//-----------------------------------------------------------------------------
|
||||
{
|
||||
rrc_rlc_register_rrc (rrc_data_ind, NULL); //register with rlc
|
||||
DCCH_LCHAN_DESC.transport_block_size = 4;
|
||||
DCCH_LCHAN_DESC.max_transport_blocks = 16;
|
||||
DCCH_LCHAN_DESC.Delay_class = 1;
|
||||
|
||||
@@ -50,8 +50,6 @@ extern mui_t rrc_gNB_mui;
|
||||
//-----------------------------------------------------------------------------
|
||||
void rrc_init_nr_srb_param(NR_LCHAN_DESC *chan)
|
||||
{
|
||||
rrc_rlc_register_rrc (rrc_data_ind, NULL); //register with rlc
|
||||
|
||||
chan->transport_block_size = 4;
|
||||
chan->max_transport_blocks = 16;
|
||||
chan->Delay_class = 1;
|
||||
|
||||
Reference in New Issue
Block a user