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

Commit 780568f8 authored by Chris Manton's avatar Chris Manton
Browse files

Remove unused bta_gatts_co_srv_chg

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: Iadb4a68c58c96233364103da8dde75aeb18f8428
parent 2777c245
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -101,9 +101,7 @@ static void bta_gatts_nv_save_cback(bool is_add,
static bool bta_gatts_nv_srv_chg_cback(tGATTS_SRV_CHG_CMD cmd,
                                       tGATTS_SRV_CHG_REQ* p_req,
                                       tGATTS_SRV_CHG_RSP* p_rsp) {
  return bta_gatts_co_srv_chg((tGATTS_SRV_CHG_CMD)cmd,
                              (tGATTS_SRV_CHG_REQ*)p_req,
                              (tGATTS_SRV_CHG_RSP*)p_rsp);
  return false;
}

/*******************************************************************************
+0 −22
Original line number Diff line number Diff line
@@ -42,26 +42,4 @@
 ******************************************************************************/
extern void bta_gatts_co_update_handle_range(
    bool is_add, tBTA_GATTS_HNDL_RANGE* p_hndl_range);

/*******************************************************************************
 *
 * Function         bta_gatts_co_srv_chg
 *
 * Description      This call-out is to read/write/remove service change related
 *                  informaiton. The request consists of the cmd and p_req and
 *                  the response is returned in p_rsp
 *
 * Parameter        cmd - request command
 *                  p_req - request paramters
 *                  p_rsp - response data for the request
 *
 * Returns          true - if the request is processed successfully and
 *                         the response is returned in p_rsp.
 *                  false - if the request can not be processed
 *
 ******************************************************************************/
extern bool bta_gatts_co_srv_chg(tGATTS_SRV_CHG_CMD cmd,
                                 tGATTS_SRV_CHG_REQ* p_req,
                                 tGATTS_SRV_CHG_RSP* p_rsp);

#endif /* BTA_GATTS_CO_H */
+0 −23
Original line number Diff line number Diff line
@@ -103,26 +103,3 @@ void btif_gatts_add_bonded_dev_from_nv(const RawAddress& bda) {
 ******************************************************************************/
void bta_gatts_co_update_handle_range(
    UNUSED_ATTR bool is_add, UNUSED_ATTR tBTA_GATTS_HNDL_RANGE* p_hndl_range) {}

/*******************************************************************************
 *
 * Function         bta_gatts_co_srv_chg
 *
 * Description      This call-out is to read/write/remove service change related
 *                  informaiton. The request consists of the cmd and p_req and
 *                  the response is returned in p_rsp
 *
 * Parameter        cmd - request command
 *                  p_req - request paramters
 *                  p_rsp - response data for the request
 *
 * Returns          true - if the request is processed successfully and
 *                         the response is returned in p_rsp.
 *                  false - if the request can not be processed
 *
 ******************************************************************************/
bool bta_gatts_co_srv_chg(UNUSED_ATTR tGATTS_SRV_CHG_CMD cmd,
                          UNUSED_ATTR tGATTS_SRV_CHG_REQ* p_req,
                          UNUSED_ATTR tGATTS_SRV_CHG_RSP* p_rsp) {
  return false;
}