summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Sogi <manish.sogi@samsung.com>2015-06-15 17:46:05 +0530
committerTanu Kaskinen <tanuk@iki.fi>2015-09-25 15:05:43 +0300
commitff24ea7695a426195aa2c5390fa2f82b74313ef6 (patch)
tree3bafb26325e4e945f0be63c32a46efea17c134ec
parent4a8bf9ab30d86f135a3ac0d1d500b968b14a3f44 (diff)
downloadpulseaudio-ff24ea7695a426195aa2c5390fa2f82b74313ef6.tar.gz
bluetooth: bluez4: Remove the unused "auto_connect" parameter as it is not used in bluez4
<EP-F69A421D31544C56BDE97C590307C014> Signed-off-by: Manish Sogi <manish.sogi@samsung.com>
-rw-r--r--src/modules/bluetooth/module-bluez4-device.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/bluetooth/module-bluez4-device.c b/src/modules/bluetooth/module-bluez4-device.c
index db69d347e..a23c2a9ce 100644
--- a/src/modules/bluetooth/module-bluez4-device.c
+++ b/src/modules/bluetooth/module-bluez4-device.c
@@ -75,7 +75,6 @@ PA_MODULE_USAGE(
"rate=<sample rate> "
"channels=<number of channels> "
"path=<device object path> "
- "auto_connect=<automatically connect?> "
"sco_sink=<SCO over PCM sink name> "
"sco_source=<SCO over PCM source name>");
@@ -94,7 +93,6 @@ static const char* const valid_modargs[] = {
"rate",
"channels",
"path",
- "auto_connect",
"sco_sink",
"sco_source",
NULL
@@ -148,7 +146,6 @@ struct userdata {
pa_hook_slot *transport_speaker_changed_slot;
pa_bluez4_discovery *discovery;
- bool auto_connect;
char *output_port_name;
char *input_port_name;
@@ -2460,12 +2457,6 @@ int pa__init(pa_module *m) {
goto fail;
}
- u->auto_connect = true;
- if (pa_modargs_get_value_boolean(ma, "auto_connect", &u->auto_connect)) {
- pa_log("Failed to parse auto_connect= argument");
- goto fail;
- }
-
channels = u->sample_spec.channels;
if (pa_modargs_get_value_u32(ma, "channels", &channels) < 0 ||
!pa_channels_valid(channels)) {