mirror of git://git.sysmocom.de/ofono
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.
This commit is contained in:
parent
df8cf542d8
commit
2d925003a4
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue