Loading system/btif/src/stack_manager.cc +0 −4 Original line number Original line Diff line number Diff line Loading @@ -194,8 +194,6 @@ static void ensure_stack_is_not_running(void) { // Synchronous function to clean up the stack // Synchronous function to clean up the stack static void event_clean_up_stack(void* context) { static void event_clean_up_stack(void* context) { future_t* local_hack_future; if (!stack_is_initialized) { if (!stack_is_initialized) { LOG_INFO(LOG_TAG, "%s found the stack already in a clean state", __func__); LOG_INFO(LOG_TAG, "%s found the stack already in a clean state", __func__); goto cleanup; goto cleanup; Loading @@ -204,8 +202,6 @@ static void event_clean_up_stack(void* context) { ensure_stack_is_not_running(); ensure_stack_is_not_running(); LOG_INFO(LOG_TAG, "%s is cleaning up the stack", __func__); LOG_INFO(LOG_TAG, "%s is cleaning up the stack", __func__); local_hack_future = future_new(); hack_future = local_hack_future; stack_is_initialized = false; stack_is_initialized = false; btif_cleanup_bluetooth(); btif_cleanup_bluetooth(); Loading Loading
system/btif/src/stack_manager.cc +0 −4 Original line number Original line Diff line number Diff line Loading @@ -194,8 +194,6 @@ static void ensure_stack_is_not_running(void) { // Synchronous function to clean up the stack // Synchronous function to clean up the stack static void event_clean_up_stack(void* context) { static void event_clean_up_stack(void* context) { future_t* local_hack_future; if (!stack_is_initialized) { if (!stack_is_initialized) { LOG_INFO(LOG_TAG, "%s found the stack already in a clean state", __func__); LOG_INFO(LOG_TAG, "%s found the stack already in a clean state", __func__); goto cleanup; goto cleanup; Loading @@ -204,8 +202,6 @@ static void event_clean_up_stack(void* context) { ensure_stack_is_not_running(); ensure_stack_is_not_running(); LOG_INFO(LOG_TAG, "%s is cleaning up the stack", __func__); LOG_INFO(LOG_TAG, "%s is cleaning up the stack", __func__); local_hack_future = future_new(); hack_future = local_hack_future; stack_is_initialized = false; stack_is_initialized = false; btif_cleanup_bluetooth(); btif_cleanup_bluetooth(); Loading