mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[HVM] Whitespace cleanup.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
This commit is contained in:
1 parent
a352d8d69f
commit
beb6098f21
1 file changed
+1
-3
@@ -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 )
|
||||
|
||||