]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: remove leftover virResetLastError
authorJán Tomko <jtomko@redhat.com>
Wed, 10 Sep 2014 12:17:10 +0000 (14:17 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 10 Sep 2014 17:44:12 +0000 (19:44 +0200)
As of commit 5d29ca0:
qemu: switch PCI address set from hash table to an array

There is no error to be reset.

src/qemu/qemu_command.c

index 5856fe7b7a396324ee60b3b95967329721ef5f84..665a590a4653f930c8d4f1d1fe19d0069344c6ba 100644 (file)
@@ -1770,7 +1770,6 @@ qemuValidateDevicePCISlotsPIIX3(virDomainDefPtr def,
             VIR_DEBUG("PCI address 0:0:2.0 in use, future addition of a video"
                       " device will not be possible without manual"
                       " intervention");
-            virResetLastError();
         } else if (virDomainPCIAddressReserveSlot(addrs, &tmp_addr, flags) < 0) {
             goto cleanup;
         }