Delete the repeated calling of voicecall_create

This commit is contained in:
Minjun Li 2009-05-26 15:37:22 +08:00 committed by Denis Kenzior
parent e7fe2273d9
commit 2c73893d0a
1 changed files with 1 additions and 1 deletions

View File

@ -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);