ia64/xen-unstable

changeset 16104:f0f4cd789eaa

[IA64] Clean up: vmx_vcpu_set_rr()

vmx_vcpu_set_rr(): remove the obsolete variable, oldrr.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Fri Oct 12 14:10:02 2007 -0600 (2007-10-12)
parents 52b71f12dce7
children 0badb22cde79
files xen/arch/ia64/vmx/vmx_vcpu.c
line diff
     1.1 --- a/xen/arch/ia64/vmx/vmx_vcpu.c	Fri Oct 12 14:08:13 2007 -0600
     1.2 +++ b/xen/arch/ia64/vmx/vmx_vcpu.c	Fri Oct 12 14:10:02 2007 -0600
     1.3 @@ -161,10 +161,9 @@ IA64FAULT vmx_vcpu_cover(VCPU *vcpu)
     1.4  
     1.5  IA64FAULT vmx_vcpu_set_rr(VCPU *vcpu, u64 reg, u64 val)
     1.6  {
     1.7 -    ia64_rr oldrr,newrr;
     1.8 +    ia64_rr newrr;
     1.9      u64 rrval;
    1.10  
    1.11 -    vcpu_get_rr(vcpu, reg, &oldrr.rrval);
    1.12      newrr.rrval=val;
    1.13      if (newrr.rid >= (1 << vcpu->domain->arch.rid_bits))
    1.14          panic_domain (NULL, "use of invalid rid %x\n", newrr.rid);