Thread (2 messages) flat view 2 messages, 2 authors, 2012-09-28
STALE5105d

[PATCH] adapter: Remove unused struct btd_adapter members

From: Szymon Janc <hidden>
Date: 2012-09-28 09:35:29
Subsystem: the rest · Maintainer: Linus Torvalds

stop_discov_id and state are not used anymore.

---
 src/adapter.c |    3 ---
 1 file changed, 3 deletions(-)
diff --git a/src/adapter.c b/src/adapter.c
index b1ea3ea..48d6294 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -112,7 +112,6 @@ struct btd_adapter {
 	uint32_t dev_class;		/* Class of Device */
 	char *name;			/* adapter name */
 	gboolean allow_name_changes;	/* whether the adapter name can be changed */
-	guint stop_discov_id;		/* stop inquiry/scanning id */
 	uint32_t discov_timeout;	/* discoverable time(sec) */
 	guint pairable_timeout_id;	/* pairable timeout id */
 	uint32_t pairable_timeout;	/* pairable time(sec) */
@@ -122,8 +121,6 @@ struct btd_adapter {
 					 * limited */
 	uint8_t global_mode;		/* last valid global mode */
 	struct session_req *pending_mode;
-	int state;			/* standard inq, periodic inq, name
-					 * resolving, suspended discovery */
 	GSList *found_devices;
 	GSList *oor_devices;		/* out of range device list */
 	struct agent *agent;		/* For the new API */
-- 
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