* [PATCH] adapter: Remove unused struct btd_adapter members
@ 2012-09-28 9:35 Szymon Janc
2012-09-28 9:39 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Szymon Janc @ 2012-09-28 9:35 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Szymon Janc
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] adapter: Remove unused struct btd_adapter members
2012-09-28 9:35 [PATCH] adapter: Remove unused struct btd_adapter members Szymon Janc
@ 2012-09-28 9:39 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-09-28 9:39 UTC (permalink / raw)
To: Szymon Janc; +Cc: linux-bluetooth
Hi Szymon,
On Fri, Sep 28, 2012, Szymon Janc wrote:
> stop_discov_id and state are not used anymore.
>
> ---
> src/adapter.c | 3 ---
> 1 file changed, 3 deletions(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-28 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-28 9:35 [PATCH] adapter: Remove unused struct btd_adapter members Szymon Janc
2012-09-28 9:39 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).