WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86: Remove unused temporay variable 'old

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Remove unused temporay variable 'old_gvec'.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Oct 2009 01:40:19 -0700
Delivery-date: Thu, 15 Oct 2009 01:40:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Remove unused temporay variable 'old_gvec'., Xen patchbot-unstable <=