diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index febca334c32068943294cb5ff5c5113cf72f7d16..a6e218c6140def3a0ea6fa5e3dd3f8bc66b7344c 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c @@ -462,7 +462,6 @@ static int pit_ioport_write(struct kvm_vcpu *vcpu, if (channel == 3) { /* Read-Back Command. */ for (channel = 0; channel < 3; channel++) { - s = &pit_state->channels[channel]; if (val & (2 << channel)) { if (!(val & 0x20)) pit_latch_count(pit, channel);