address is no longer used and can be removed. --- src/adapter.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index 9ecc0fa..d208cfa 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -2180,10 +2180,6 @@ void btd_adapter_get_mode(struct btd_adapter *adapter, uint8_t *mode, uint16_t *discoverable_timeout, gboolean *pairable) { - char address[18]; - - ba2str(&adapter->bdaddr, address); - if (mode) *mode = adapter->mode; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html