Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8298e603 authored by Zach Johnson's avatar Zach Johnson
Browse files

Remove useless states

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I85914c6205d04481e48e9ae82511d2242d5920b3
parent 0af122b9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -663,7 +663,6 @@ tBTM_STATUS BTM_StartInquiry(tBTM_INQ_RESULTS_CB* p_results_cb,
    return status;
  }

  p_inq->state = BTM_INQ_SET_FILT_STATE;
  btm_initiate_inquiry();
  return BTM_CMD_STARTED;
}
+0 −5
Original line number Diff line number Diff line
@@ -205,11 +205,6 @@ typedef struct {
                           Clear) */

#define BTM_INQ_INACTIVE_STATE 0
#define BTM_INQ_CLR_FILT_STATE \
  1 /* Currently clearing the inquiry filter preceding the inquiry request */
    /* (bypassed if filtering is not used)                                  */
#define BTM_INQ_SET_FILT_STATE \
  2 /* Sets the new filter (or turns off filtering) in this state */
#define BTM_INQ_ACTIVE_STATE \
  3 /* Actual inquiry or periodic inquiry is in progress */