Diff between 04f15efbe76788d225c6bfbbab12e492f664c1d0 and 3ad83f8f990647219cb8b8b71a772676b6b981c6

Changed Files

File Additions Deletions Status
src/mgmt.c +1 -14 modified

Full Patch

diff --git a/src/mgmt.c b/src/mgmt.c
index 943ce63..727fc13 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");