[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH]x86: Remove unused temporay variable.
x86: Remove unused temporay variable. old_gvec is not used now, so remove it. Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx> diff -r 18e80cd73366 xen/drivers/passthrough/io.c --- a/xen/drivers/passthrough/io.c Fri Oct 09 09:34:03 2009 +0100 +++ b/xen/drivers/passthrough/io.c Thu Oct 15 10:36:41 2009 +0800 @@ -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; } Attachment:
remove-unused-temp-variable.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |