summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-02-11 21:03:38 +0100
committerThomas Haller <thaller@redhat.com>2020-02-14 09:48:37 +0100
commitd36df06c24a44c09fb838816cae03f921986c6ff (patch)
treef20f765dac6f732a49bfcfe32c5cc59f20937814
parent02c95a2d3dd9c1dbb404f50f093f5a606c060a03 (diff)
shared: don't require callback argument to nm_dbus_connection_call_set()
It's fine to call propery-set without caring about the result.
-rw-r--r--shared/nm-glib-aux/nm-dbus-aux.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/shared/nm-glib-aux/nm-dbus-aux.c b/shared/nm-glib-aux/nm-dbus-aux.c
index 7c55b5a75..9cb0a7f09 100644
--- a/shared/nm-glib-aux/nm-dbus-aux.c
+++ b/shared/nm-glib-aux/nm-dbus-aux.c
@@ -111,8 +111,6 @@ void nm_dbus_connection_call_set (GDBusConnection *dbus_connection,
NMDBusConnectionCallDefaultCb callback,
gpointer user_data)
{
- nm_assert (callback);
-
g_dbus_connection_call (dbus_connection,
bus_name,
object_path,