[libvirt] [PATCH] network: kill dead store

Eric Blake eblake at redhat.com
Fri Jul 30 17:45:32 UTC 2010


On 07/30/2010 11:09 AM, Daniel Veillard wrote:
>> -    int dupNet;
>>
>>      networkDriverLock(driver);
>>
>>      if (!(def = virNetworkDefParseString(xml)))
>>          goto cleanup;
>>
>> -    if ((dupNet = virNetworkObjIsDuplicate(&driver->networks, def, 0)) < 0)
>> +    if (virNetworkObjIsDuplicate(&driver->networks, def, 0) < 0)
>>          goto cleanup;
>>
>>      if (virNetworkSetBridgeName(&driver->networks, def, 1))
> 
>   ACK,

Thanks; pushed along with the trivial hunks from the qemu patch.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100730/1dcabe48/attachment-0001.sig>


More information about the libvir-list mailing list