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

Commit 2ef41400 authored by Chris Manton's avatar Chris Manton
Browse files

Remove unused api bta_gatts_co_srv_chg

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

Change-Id: I04a65e1ce07d9adce1f0f7fda21931d0d39ed1c8
parent 780568f8
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -82,10 +82,7 @@ tGATT_APPL_INFO bta_gatts_nv_cback = {bta_gatts_nv_save_cback,
 *
 ******************************************************************************/
static void bta_gatts_nv_save_cback(bool is_add,
                                    tGATTS_HNDL_RANGE* p_hndl_range) {
  bta_gatts_co_update_handle_range(is_add,
                                   (tBTA_GATTS_HNDL_RANGE*)p_hndl_range);
}
                                    tGATTS_HNDL_RANGE* p_hndl_range) {}

/*******************************************************************************
 *
+0 −16
Original line number Diff line number Diff line
@@ -26,20 +26,4 @@

#include "bta/include/bta_gatt_api.h"

/*******************************************************************************
 *
 * Function         bta_gatts_co_update_handle_range
 *
 * Description      This callout function is executed by GATTS when a GATT
 *                  server handle range ios to be added or removed.
 *
 * Parameter        is_add: true is to add a handle range; otherwise is to
 *                          delete.
 *                  p_hndl_range: handle range.
 *
 * Returns          void.
 *
 ******************************************************************************/
extern void bta_gatts_co_update_handle_range(
    bool is_add, tBTA_GATTS_HNDL_RANGE* p_hndl_range);
#endif /* BTA_GATTS_CO_H */
+0 −21
Original line number Diff line number Diff line
@@ -82,24 +82,3 @@ void btif_gatts_add_bonded_dev_from_nv(const RawAddress& bda) {
    }
  }
}

/*****************************************************************************
 *  Call-out functions
 ****************************************************************************/

/*******************************************************************************
 *
 * Function         bta_gatts_co_update_handle_range
 *
 * Description      This callout function is executed by GATTS when a GATT
 *                  server handle range ios to be added or removed.
 *
 * Parameter        is_add: true is to add a handle range; otherwise is to
 *                          delete.
 *                  p_hndl_range: handle range.
 *
 * Returns          void.
 *
 ******************************************************************************/
void bta_gatts_co_update_handle_range(
    UNUSED_ATTR bool is_add, UNUSED_ATTR tBTA_GATTS_HNDL_RANGE* p_hndl_range) {}