* [PATCH] Remove leftover code of main_opts operation
@ 2012-02-22 14:15 chanyeol.park
2012-03-16 15:19 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: chanyeol.park @ 2012-02-22 14:15 UTC (permalink / raw)
To: linux-bluetooth; +Cc: chanyeol.park
From: Chan-yeol Park <chanyeol.park@samsung.com>
diff --git a/src/hcid.h b/src/hcid.h
index 1987b7d..e2eaf86 100644
--- a/src/hcid.h
+++ b/src/hcid.h
@@ -46,10 +46,7 @@ struct main_opts {
};
enum {
- HCID_SET_NAME,
- HCID_SET_CLASS,
HCID_SET_PAGETO,
- HCID_SET_DISCOVTO,
};
extern struct main_opts main_opts;
diff --git a/src/main.c b/src/main.c
index 74ec3fa..60a0816 100644
--- a/src/main.c
+++ b/src/main.c
@@ -107,7 +107,6 @@ static void parse_config(GKeyFile *config)
} else {
DBG("discovto=%d", val);
main_opts.discovto = val;
- main_opts.flags |= 1 << HCID_SET_DISCOVTO;
}
val = g_key_file_get_integer(config, "General",
@@ -148,7 +147,6 @@ static void parse_config(GKeyFile *config)
DBG("name=%s", str);
g_free(main_opts.name);
main_opts.name = g_strdup(str);
- main_opts.flags |= 1 << HCID_SET_NAME;
g_free(str);
}
@@ -159,7 +157,6 @@ static void parse_config(GKeyFile *config)
} else {
DBG("class=%s", str);
main_opts.class = strtol(str, NULL, 16);
- main_opts.flags |= 1 << HCID_SET_CLASS;
g_free(str);
}
--
1.7.5.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Remove leftover code of main_opts operation
2012-02-22 14:15 [PATCH] Remove leftover code of main_opts operation chanyeol.park
@ 2012-03-16 15:19 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-03-16 15:19 UTC (permalink / raw)
To: chanyeol.park; +Cc: linux-bluetooth
Hi Chanyeol,
On Wed, Feb 22, 2012, chanyeol.park@samsung.com wrote:
> From: Chan-yeol Park <chanyeol.park@samsung.com>
>
>
> diff --git a/src/hcid.h b/src/hcid.h
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-16 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-22 14:15 [PATCH] Remove leftover code of main_opts operation chanyeol.park
2012-03-16 15:19 ` Johan Hedberg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.