Commit 9c0577ad authored by Robert Schmidt's avatar Robert Schmidt

Remove unused is_init

This field is never used anywhere.
Signed-off-by: default avatarRobert Schmidt <robert.schmidt@openairinterface.org>
parent 102792c3
......@@ -561,7 +561,8 @@ void* ru_thread_control( void* param )
//if (ru->is_slave == 1) lte_sync_time_init(&ru->frame_parms);
if (ru->rfdevice.is_init != 1) openair0_device_load(&ru->rfdevice,&ru->openair0_cfg);
int ret = openair0_device_load(&ru->rfdevice, &ru->openair0_cfg);
AssertFatal(ret == 0, "could not load device library\n");
if (ru->rfdevice.trx_config_func) AssertFatal((ru->rfdevice.trx_config_func(&ru->rfdevice,&ru->openair0_cfg)==0),
"Failed to configure RF device for RU %d\n",ru->idx);
......
......@@ -107,8 +107,6 @@ int main(int argc, char **argv) {
.eth_params=NULL,
//! record player data, definition in record_player.h
.recplay_state=NULL,
/* !brief Indicates if device already initialized */
.is_init=0,
/*!brief Can be used by driver to hold internal structure*/
.priv=NULL,
/* Functions API, which are called by the application*/
......
......@@ -376,8 +376,6 @@ struct openair0_device {
eth_params_t *eth_params;
//! record player data, definition in record_player.h
recplay_state_t *recplay_state;
/* !brief Indicates if device already initialized */
int is_init;
/*!brief Can be used by driver to hold internal structure*/
void *priv;
......
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