KVM: PIT: remove unused scheduled variable
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 23 Feb 2009 13:57:39 +0000 (10:57 -0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:25 +0000 (11:48 +0300)
Unused.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8254.c
arch/x86/kvm/i8254.h

index c13bb92d3157708a52e211b1992a71f45554ffbb..3eddae692c0521951ae793266f6c6b56c8bcfe92 100644 (file)
@@ -208,7 +208,6 @@ static int __pit_timer_fn(struct kvm_kpit_state *ps)
                wake_up_interruptible(&vcpu0->wq);
 
        hrtimer_add_expires_ns(&pt->timer, pt->period);
-       pt->scheduled = hrtimer_get_expires_ns(&pt->timer);
        if (pt->period)
                ps->channels[0].count_load_time = ktime_get();
 
index 6acbe4b505d5faad09d6b7d69e2cc64e870965cc..521accf3bae73c3ba653c83c2a6334678f1be17f 100644 (file)
@@ -7,7 +7,6 @@ struct kvm_kpit_timer {
        struct hrtimer timer;
        int irq;
        s64 period; /* unit: ns */
-       s64 scheduled;
        atomic_t pending;
        bool reinject;
 };