[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: Remove unused temporay variable 'old_gvec'.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1255591831 -3600 # Node ID e976deb67899f6b9b802a2d8f029ef0ae8d1a132 # Parent 9e24f7f9d7a8c59747c4d7cd75215958d231f0b9 x86: Remove unused temporay variable 'old_gvec'. Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> --- xen/drivers/passthrough/io.c | 2 -- 1 files changed, 2 deletions(-) diff -r 9e24f7f9d7a8 -r e976deb67899 xen/drivers/passthrough/io.c --- a/xen/drivers/passthrough/io.c Thu Oct 15 08:29:33 2009 +0100 +++ b/xen/drivers/passthrough/io.c Thu Oct 15 08:30:31 2009 +0100 @@ -187,7 +187,6 @@ int pt_irq_create_bind_vtd( else { uint32_t mask = HVM_IRQ_DPCI_MACH_MSI | HVM_IRQ_DPCI_GUEST_MSI; - uint32_t old_gvec; if ( (hvm_irq_dpci->mirq[pirq].flags & mask) != mask) { @@ -196,7 +195,6 @@ int pt_irq_create_bind_vtd( } /* if pirq is already mapped as vmsi, update the guest data/addr */ - old_gvec = hvm_irq_dpci->mirq[pirq].gmsi.gvec; hvm_irq_dpci->mirq[pirq].gmsi.gvec = pt_irq_bind->u.msi.gvec; hvm_irq_dpci->mirq[pirq].gmsi.gflags = pt_irq_bind->u.msi.gflags; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |