mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Remove conn parameter from util functions
It was used for error reporting only.
This commit is contained in:
@@ -478,7 +478,7 @@ index b84729f..4f73baf 100644
|
||||
+ * If this fails for any reason, we still have the backup of polling for
|
||||
+ * 5 seconds for device nodes.
|
||||
+ */
|
||||
+ virRun(conn, settleprog, &exitstatus);
|
||||
+ virRun(settleprog, &exitstatus);
|
||||
+}
|
||||
+#else
|
||||
+void virNodeDeviceWaitForDevices(virConnectPtr conn ATTRIBUTE_UNUSED) {}
|
||||
@@ -1131,7 +1131,7 @@ index b154140..74759cf 100644
|
||||
- * If this fails for any reason, we still have the backup of polling for
|
||||
- * 5 seconds for device nodes.
|
||||
- */
|
||||
- virRun(conn, settleprog, &exitstatus);
|
||||
- virRun(settleprog, &exitstatus);
|
||||
+ virNodeDeviceWaitForDevices(conn);
|
||||
+ return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user