[libvirt] [PATCH] Remove a redundant line in src/qemu/qemu_driver.c

Daniel Veillard veillard at redhat.com
Fri Sep 21 04:17:17 UTC 2012


On Fri, Sep 21, 2012 at 11:50:08AM +0800, Tang Chen wrote:
> Signed-off-by: Tang Chen <tangchen at cn.fujitsu.com>
> ---
>  src/qemu/qemu_driver.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
> index 12ac15c..2f58eca 100644
> --- a/src/qemu/qemu_driver.c
> +++ b/src/qemu/qemu_driver.c
> @@ -4050,7 +4050,6 @@ qemudDomainPinEmulator(virDomainPtr dom,
>              if (VIR_ALLOC(newVcpuPin) < 0) {
>                  virReportOOMError();
>                  goto cleanup;
> -                newVcpuPinNum = 0;
>              }
>  
>              if (virDomainVcpuPinAdd(&newVcpuPin, &newVcpuPinNum, cpumap, maplen, -1) < 0) {

  ACK, I'm pushing this too, thanks !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvir-list mailing list