qemu: remove superfluous setting of addrs->nbuses

This is already set by virDomainPCIAddressSetAlloc().
This commit is contained in:
Laine Stump 2016-10-13 14:49:12 -04:00
parent 9b4122bf2e
commit d4afd34110

View File

@ -558,7 +558,6 @@ qemuDomainPCIAddressSetCreate(virDomainDefPtr def,
if ((addrs = virDomainPCIAddressSetAlloc(nbuses)) == NULL)
return NULL;
addrs->nbuses = nbuses;
addrs->dryRun = dryRun;
/* As a safety measure, set default model='pci-root' for first pci