Remove unused #define BTM_AFTER_RESET_TIMEOUT
diff --git a/include/bt_target.h b/include/bt_target.h
index 5af2cc4..618e696 100644
--- a/include/bt_target.h
+++ b/include/bt_target.h
@@ -911,11 +911,6 @@
#define BTM_FIRST_RESET_DELAY 0
#endif
-/* The number of seconds to wait for controller module to reset after issuing an HCI Reset command. */
-#ifndef BTM_AFTER_RESET_TIMEOUT
-#define BTM_AFTER_RESET_TIMEOUT 0
-#endif
-
/* Default class of device
* {SERVICE_CLASS, MAJOR_CLASS, MINOR_CLASS}
*
diff --git a/stack/btm/btm_devctl.c b/stack/btm/btm_devctl.c
index 07d34f7..8f0a1d5 100644
--- a/stack/btm/btm_devctl.c
+++ b/stack/btm/btm_devctl.c
@@ -66,14 +66,6 @@
#define BTM_INFO_TIMEOUT 5 /* 5 seconds for info response */
-/* After Reset a timeout can be specified in the target.h for specific targets
- * that may require additional time to reset
- * otherwise no timeout is required
-*/
-#ifndef BTM_AFTER_RESET_TIMEOUT
-#define BTM_AFTER_RESET_TIMEOUT 0
-#endif
-
/* Internal baseband so the parameters such as local features, version etc. are known
so there is no need to issue HCI commands and wait for responses at BTM initialization */
#ifndef BTM_INTERNAL_BB
@@ -629,14 +621,9 @@
btm_cb.btm_inq_vars.page_scan_period = HCI_DEF_PAGESCAN_INTERVAL;
btm_cb.btm_inq_vars.page_scan_type = HCI_DEF_SCAN_TYPE;
-#if (BTM_AFTER_RESET_TIMEOUT > 0)
- btu_start_timer (&btm_cb.devcb.reset_timer, BTU_TTYPE_BTM_DEV_CTL,
- BTM_AFTER_RESET_TIMEOUT);
-#else
btm_cb.devcb.state = BTM_DEV_STATE_WAIT_AFTER_RESET;
btu_stop_timer(&btm_cb.devcb.reset_timer);
btm_continue_reset();
-#endif
#if (BLE_INCLUDED == TRUE)
btm_cb.ble_ctr_cb.conn_state = BLE_CONN_IDLE;