aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2012-09-21 11:50:08 +0800
committerDaniel Veillard <veillard@redhat.com>2012-09-21 12:16:25 +0800
commit1437ea6f483c63b09a417380ee9d5383b5696ca8 (patch)
treef14284812cda27944c1044886f4fa48583d32805
parentnetwork: backend for virNetworkUpdate of portgroups (diff)
downloadlibvirt-1437ea6f483c63b09a417380ee9d5383b5696ca8.tar.gz
libvirt-1437ea6f483c63b09a417380ee9d5383b5696ca8.tar.bz2
libvirt-1437ea6f483c63b09a417380ee9d5383b5696ca8.zip
Remove a redundant line in src/qemu/qemu_driver.c
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
-rw-r--r--src/qemu/qemu_driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 9bee63dfd..500ba75cb 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) {