Commit 28edd78f authored by Dan Williams's avatar Dan Williams

core: don't require an error argument to nm_device_check_connection_compatible()

parent db94e37e
......@@ -783,8 +783,6 @@ nm_device_check_connection_compatible (NMDevice *device,
g_return_val_if_fail (NM_IS_DEVICE (device), FALSE);
g_return_val_if_fail (connection != NULL, FALSE);
g_return_val_if_fail (NM_IS_CONNECTION (connection), FALSE);
g_return_val_if_fail (error != NULL, FALSE);
g_return_val_if_fail (*error == NULL, FALSE);
if (NM_DEVICE_GET_CLASS (device)->check_connection_compatible)
return NM_DEVICE_GET_CLASS (device)->check_connection_compatible (device, connection, error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment