Cleanup: remove unused global uwb_device_initialized
Bug: 378627028
Test: Build
Change-Id: Idffef5c149ff71a1b8b4b242298b795c628f3c07
diff --git a/halimpl/hal/phNxpUciHal.cc b/halimpl/hal/phNxpUciHal.cc
index 5f648c0..a145b8e 100644
--- a/halimpl/hal/phNxpUciHal.cc
+++ b/halimpl/hal/phNxpUciHal.cc
@@ -46,7 +46,6 @@
/* UCI HAL Control structure */
phNxpUciHal_Control_t nxpucihal_ctrl;
-bool uwb_device_initialized = false;
bool uwb_get_platform_id = false;
uint32_t timeoutTimerId = 0;
char persistant_log_path[120];
@@ -606,8 +605,6 @@
return UWBSTATUS_FAILED;
}
- uwb_device_initialized = false;
-
CONCURRENCY_LOCK();
SessionTrack_deinit();
@@ -873,8 +870,6 @@
return UWBSTATUS_FAILED;
}
- uwb_device_initialized = false;
-
// Device Status Notification
UciHalSemaphore devStatusNtfWait;
uint8_t dev_status = UWB_DEVICE_ERROR;
@@ -949,7 +944,6 @@
}
phNxpUciHal_extcal_handle_coreinit();
- uwb_device_initialized = true;
phNxpUciHal_getVersionInfo();
return UWBSTATUS_SUCCESS;