Thread (6 messages) read the whole thread 6 messages, 2 authors, 2012-11-19
STALE5001d

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

From: Szymon Janc <hidden>
Date: 2012-11-19 15:02:42
Subsystem: the rest · Maintainer: Linus Torvalds

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help