Bluetooth: Host: Remove unused nfy_mult_data

After adding the more general ATT meta data, it is no longer used.

Signed-off-by: Herman Berget <herman.berget@nordicsemi.no>
This commit is contained in:
Herman Berget 2022-05-04 12:48:26 +02:00 committed by Maureen Helm
parent fecc193630
commit 5b0deb058b

View file

@ -2063,17 +2063,6 @@ struct notify_data {
#if defined(CONFIG_BT_GATT_NOTIFY_MULTIPLE)
struct nfy_mult_data {
bt_gatt_complete_func_t func;
void *user_data;
};
#define nfy_mult_user_data(buf) \
((struct nfy_mult_data *)net_buf_user_data(buf))
#define nfy_mult_data_match(buf, _func, _user_data) \
((nfy_mult_user_data(buf)->func == _func) && \
(nfy_mult_user_data(buf)->user_data == _user_data))
static struct net_buf *nfy_mult[CONFIG_BT_MAX_CONN];
static int gatt_notify_mult_send(struct bt_conn *conn, struct net_buf **buf)