Signed-off-by: Tim Wiederhake <twiederh(a)redhat.com>
---
src/qemu/qemu_driver.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index df44c3fbd0..521063d438 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -753,8 +753,7 @@ qemuStateInitialize(bool privileged,
if (!(qemu_driver->hostdevMgr = virHostdevManagerGetDefault()))
goto error;
- if (!(qemu_driver->sharedDevices = virHashNew(qemuSharedDeviceEntryFree)))
- goto error;
+ qemu_driver->sharedDevices = virHashNew(qemuSharedDeviceEntryFree);
if (qemuMigrationDstErrorInit(qemu_driver) < 0)
goto error;
--
2.31.1