[PATCH 1/5] adapter: Remove not needed variable from btd_adapter_get_mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux