diff options
-rw-r--r-- | arch/x86/kvm/i8254.c | 1 | ||||
-rw-r--r-- | arch/x86/kvm/i8254.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index c13bb92d3157..3eddae692c05 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c | |||
@@ -208,7 +208,6 @@ static int __pit_timer_fn(struct kvm_kpit_state *ps) | |||
208 | wake_up_interruptible(&vcpu0->wq); | 208 | wake_up_interruptible(&vcpu0->wq); |
209 | 209 | ||
210 | hrtimer_add_expires_ns(&pt->timer, pt->period); | 210 | hrtimer_add_expires_ns(&pt->timer, pt->period); |
211 | pt->scheduled = hrtimer_get_expires_ns(&pt->timer); | ||
212 | if (pt->period) | 211 | if (pt->period) |
213 | ps->channels[0].count_load_time = ktime_get(); | 212 | ps->channels[0].count_load_time = ktime_get(); |
214 | 213 | ||
diff --git a/arch/x86/kvm/i8254.h b/arch/x86/kvm/i8254.h index 6acbe4b505d5..521accf3bae7 100644 --- a/arch/x86/kvm/i8254.h +++ b/arch/x86/kvm/i8254.h | |||
@@ -7,7 +7,6 @@ struct kvm_kpit_timer { | |||
7 | struct hrtimer timer; | 7 | struct hrtimer timer; |
8 | int irq; | 8 | int irq; |
9 | s64 period; /* unit: ns */ | 9 | s64 period; /* unit: ns */ |
10 | s64 scheduled; | ||
11 | atomic_t pending; | 10 | atomic_t pending; |
12 | bool reinject; | 11 | bool reinject; |
13 | }; | 12 | }; |