summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-03-11 14:03:54 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-03-11 14:03:54 -0600
commitdad491d7a7442adf5e89b997aa63ecb21d58e05d (patch)
treeb32371d55b2e6a9f127579ca6a81cf653b95ada0
parentafd4773d54f6800f96b90ff2d64b0df4e91d5467 (diff)
downloadofono-dad491d7a7442adf5e89b997aa63ecb21d58e05d.tar.bz2
hfp_ag: Remove unneeded return statement
-rw-r--r--plugins/hfp_ag.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/hfp_ag.c b/plugins/hfp_ag.c
index 6edd73d8..ad0f503a 100644
--- a/plugins/hfp_ag.c
+++ b/plugins/hfp_ag.c
@@ -110,11 +110,9 @@ static void hfp_ag_connect_cb(GIOChannel *io, GError *err, gpointer user_data)
return;
fd = g_io_channel_unix_get_fd(io);
- ofono_emulator_register(em, fd);
-
g_io_channel_set_close_on_unref(io, FALSE);
- return;
+ ofono_emulator_register(em, fd);
}
static void voicecall_watch(struct ofono_atom *atom,