[HVM] Whitespace cleanup.
authorChristian Limpach <Christian.Limpach@xensource.com>
Fri, 19 Jan 2007 13:43:17 +0000 (13:43 +0000)
committerChristian Limpach <Christian.Limpach@xensource.com>
Fri, 19 Jan 2007 13:43:17 +0000 (13:43 +0000)
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
xen/arch/x86/hvm/vpt.c

index 6bd9fab154a218f3f5e6a3676628eb2cf6f3af29..626ad6ed44cb4adafbb6648cb4ddf81f5b35f642 100644 (file)
@@ -163,7 +163,6 @@ struct periodic_time *is_pt_irq(struct vcpu *v, int vector, int type)
 void pt_intr_post(struct vcpu *v, int vector, int type)
 {
     struct periodic_time *pt = is_pt_irq(v, vector, type);
-    unsigned long long gtime;
 
     if ( pt == NULL )
         return;
@@ -171,8 +170,7 @@ void pt_intr_post(struct vcpu *v, int vector, int type)
     pt->pending_intr_nr--;
     pt->last_plt_gtime += pt->period_cycles;
 
-    gtime = hvm_get_guest_time(pt->vcpu);
-    if (gtime < pt->last_plt_gtime)
+    if ( hvm_get_guest_time(pt->vcpu) < pt->last_plt_gtime )
         hvm_set_guest_time(pt->vcpu, pt->last_plt_gtime);
 
     if ( pt->cb != NULL )