diff options
Diffstat (limited to 'audio/gateway.c')
-rw-r--r-- | audio/gateway.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/audio/gateway.c b/audio/gateway.c index 7064df2c..afdcbe01 100644 --- a/audio/gateway.c +++ b/audio/gateway.c @@ -49,9 +49,6 @@ #include "manager.h" #include "error.h" -static gboolean disable_hfp = FALSE; -static gboolean sco_over_hci = TRUE; - static uint32_t hs_record_id = 0; static uint32_t hf_record_id = 0; @@ -498,11 +495,7 @@ int gateway_init(DBusConnection *conn, gboolean no_hfp, gboolean sco_hci) g_io_add_watch(hs_server, G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_NVAL, (GIOFunc) gateway_io_cb, NULL); - disable_hfp = no_hfp; - - sco_over_hci = sco_hci; - - if (disable_hfp) + if (no_hfp) return 0; chan = DEFAULT_HF_AG_CHANNEL; |