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

[PATCH 2/5] adapter: Remove not needed variable from btd_adapter_start

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

address is no longer used and can be removed.
---
 src/adapter.c |    3 ---
 1 file changed, 3 deletions(-)
diff --git a/src/adapter.c b/src/adapter.c
index d208cfa..8b599da 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2259,9 +2259,6 @@ void adapter_connect_list_remove(struct btd_adapter *adapter,
 void btd_adapter_start(struct btd_adapter *adapter)
 {
 	struct session_req *req;
-	char address[18];
-
-	ba2str(&adapter->bdaddr, address);
 
 	adapter->off_requested = FALSE;
 	adapter->up = TRUE;
-- 
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