From 3ad83f8f990647219cb8b8b71a772676b6b981c6 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 4 Jan 2013 11:35:20 -0800 Subject: [PATCH] core: Remove old command complete handler for set device class --- src/mgmt.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/mgmt.c b/src/mgmt.c index 943ce632e..727fc1338 100644 --- a/src/mgmt.c +++ b/src/mgmt.c @@ -1412,19 +1412,6 @@ static void mgmt_remove_uuid_complete(uint16_t index, void *buf, size_t len) handle_pending_uuids(index); } -static void mgmt_set_dev_class_complete(uint16_t index, void *buf, size_t len) -{ - DBG("index %d", index); - - if (index > max_index) { - error("Unexpected index %u in set_dev_class_complete event", - index); - return; - } - - mgmt_update_cod(index, buf, len); -} - static void mgmt_cmd_complete(uint16_t index, void *buf, size_t len) { struct mgmt_ev_cmd_complete *ev = buf; @@ -1476,7 +1463,7 @@ static void mgmt_cmd_complete(uint16_t index, void *buf, size_t len) mgmt_remove_uuid_complete(index, ev->data, len); break; case MGMT_OP_SET_DEV_CLASS: - mgmt_set_dev_class_complete(index, ev->data, len); + DBG("set_dev_class complete"); break; case MGMT_OP_LOAD_LINK_KEYS: DBG("load_link_keys complete"); -- 2.47.3