aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorMarcelo Tosatti <mtosatti@redhat.com>2009-02-23 08:57:39 -0500
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:25 -0400
commit5a05d54554f19a128306eca7f7f5ed31f7d7eeb9 (patch)
tree4165b99b56154f4b2dc1caa9441cb087bac3fd63 /arch/x86
parentb95b51d580bff9376850eef29d34c3aa08c26db7 (diff)
KVM: PIT: remove unused scheduled variable
Unused. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kvm/i8254.c1
-rw-r--r--arch/x86/kvm/i8254.h1
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};