Commit 4730470f authored by Robert Schmidt's avatar Robert Schmidt

Remove unused variables

parent 6e6fdbd5
...@@ -2166,7 +2166,6 @@ void init_NR_RU(char *rf_config_file) ...@@ -2166,7 +2166,6 @@ void init_NR_RU(char *rf_config_file)
PHY_VARS_gNB *gNB0= (PHY_VARS_gNB *)NULL; PHY_VARS_gNB *gNB0= (PHY_VARS_gNB *)NULL;
NR_DL_FRAME_PARMS *fp = (NR_DL_FRAME_PARMS *)NULL; NR_DL_FRAME_PARMS *fp = (NR_DL_FRAME_PARMS *)NULL;
int i; int i;
int CC_id;
// create status mask // create status mask
RC.ru_mask = 0; RC.ru_mask = 0;
pthread_mutex_init(&RC.ru_mutex,NULL); pthread_mutex_init(&RC.ru_mutex,NULL);
......
...@@ -714,7 +714,6 @@ int stop_L1L2(module_id_t gnb_id) { ...@@ -714,7 +714,6 @@ int stop_L1L2(module_id_t gnb_id) {
*/ */
int restart_L1L2(module_id_t gnb_id) { int restart_L1L2(module_id_t gnb_id) {
RU_t *ru = RC.ru[gnb_id]; RU_t *ru = RC.ru[gnb_id];
int cc_id;
MessageDef *msg_p = NULL; MessageDef *msg_p = NULL;
LOG_W(GNB_APP, "restarting nr-softmodem\n"); LOG_W(GNB_APP, "restarting nr-softmodem\n");
/* block threads */ /* block threads */
......
...@@ -157,9 +157,9 @@ void phy_scope_gNB(FD_phy_scope_gnb *form, ...@@ -157,9 +157,9 @@ void phy_scope_gNB(FD_phy_scope_gnb *form,
{ {
int i, arx; //int i,i2,arx,atx,ind,k; int i, arx; //int i,i2,arx,atx,ind,k;
NR_DL_FRAME_PARMS *frame_parms = &phy_vars_gnb->frame_parms; NR_DL_FRAME_PARMS *frame_parms = &phy_vars_gnb->frame_parms;
int nsymb_ce = 12*frame_parms->N_RB_UL*frame_parms->symbols_per_tti; //int nsymb_ce = 12*frame_parms->N_RB_UL*frame_parms->symbols_per_tti;
uint8_t nb_antennas_rx = frame_parms->nb_antennas_rx; uint8_t nb_antennas_rx = frame_parms->nb_antennas_rx;
uint8_t nb_antennas_tx = 1; // frame_parms->nb_antennas_tx; // in LTE Rel. 8 and 9 only a single transmit antenna is assumed at the UE //uint8_t nb_antennas_tx = 1; // frame_parms->nb_antennas_tx; // in LTE Rel. 8 and 9 only a single transmit antenna is assumed at the UE
int16_t **rxsig_t, **rxsig_f; int16_t **rxsig_t, **rxsig_f;
// int16_t **chest_t=NULL; // int16_t **chest_t=NULL;
// int16_t **chest_f=NULL; // int16_t **chest_f=NULL;
...@@ -966,7 +966,6 @@ FD_stats_form * create_form_stats_form( void ) { ...@@ -966,7 +966,6 @@ FD_stats_form * create_form_stats_form( void ) {
} }
void startScope(scopeParms_t * p) { void startScope(scopeParms_t * p) {
FD_stats_form *form_stats=NULL,*form_stats_l2=NULL;
char title[255]; char title[255];
fl_initialize (p->argc, p->argv, NULL, 0, 0); fl_initialize (p->argc, p->argv, NULL, 0, 0);
/* /*
......
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