From 2c73893d0a707a8f1ae9fe0c857528eea38e29bf Mon Sep 17 00:00:00 2001 From: Minjun Li Date: Tue, 26 May 2009 15:37:22 +0800 Subject: [PATCH] Delete the repeated calling of voicecall_create --- src/voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/voicecall.c b/src/voicecall.c index 73d88897..8318143a 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1444,7 +1444,7 @@ static void dial_callback(const struct ofono_error *error, void *data) } ofono_debug("Registering new call: %d", call->id); - voicecall_dbus_register(voicecall_create(modem, call)); + voicecall_dbus_register(v); calls->call_list = g_slist_insert_sorted(calls->call_list, v, call_compare);