diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-09-26 10:02:35 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2013-10-14 06:06:31 -0700 |
commit | 2d925003a45eb9ef3aabe13dc70dd76a042efed3 (patch) | |
tree | ff1ae89a0f0eeb7eebdb710e0c121703c2b6abc3 /gdbus | |
parent | df8cf542d874f2259b52bc43280641bfb5215658 (diff) | |
download | ofono-2d925003a45eb9ef3aabe13dc70dd76a042efed3.tar.bz2 |
gdbus: Remove not needed check for NULL DBusPendingCall
It is now checked by g_dbus_send_message_with_reply() so there is no
need to double check that in caller.
Diffstat (limited to 'gdbus')
-rw-r--r-- | gdbus/client.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdbus/client.c b/gdbus/client.c index 7bffdad1..be8cc296 100644 --- a/gdbus/client.c +++ b/gdbus/client.c @@ -112,11 +112,6 @@ static gboolean modify_match(DBusConnection *conn, const char *member, return FALSE; } - if (call == NULL) { - dbus_message_unref(msg); - return FALSE; - } - dbus_pending_call_set_notify(call, modify_match_reply, NULL, NULL); dbus_pending_call_unref(call); |