summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/hfp_hf_bluez5.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/hfp_hf_bluez5.c b/plugins/hfp_hf_bluez5.c
index f0957cfa..43acd998 100644
--- a/plugins/hfp_hf_bluez5.c
+++ b/plugins/hfp_hf_bluez5.c
@@ -166,10 +166,6 @@ static struct ofono_modem *modem_register(const char *device,
struct ofono_modem *modem;
char *path;
- modem = g_hash_table_lookup(modem_hash, device);
- if (modem != NULL)
- return modem;
-
path = g_strconcat("hfp", device, NULL);
modem = ofono_modem_create(path, "hfp");