From 7360177c91be9966e5cd7cc1476bda01ba78e4b7 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 5 Jan 2013 00:10:41 -0800 Subject: [PATCH] core: There is no need to track the supported settings twice --- src/mgmt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mgmt.c b/src/mgmt.c index 99a6b1278..9fefb5806 100644 --- a/src/mgmt.c +++ b/src/mgmt.c @@ -56,7 +56,6 @@ static int max_index = -1; static struct controller_info { gboolean valid; - uint32_t supported_settings; uint32_t current_settings; GSList *connections; uint8_t discov_type; @@ -720,8 +719,6 @@ static void read_info_complete(uint16_t index, void *buf, size_t len) info = &controllers[index]; - memcpy(&info->supported_settings, &rp->supported_settings, - sizeof(info->supported_settings)); memcpy(&info->current_settings, &rp->current_settings, sizeof(info->current_settings)); -- 2.11.0