KVM: i8254: remove pit and kvm from kvm_kpit_state
authorRadim Krčmář <rkrcmar@redhat.com>
Wed, 2 Mar 2016 21:56:48 +0000 (22:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Mar 2016 08:30:12 +0000 (09:30 +0100)
commita3e1311549593692d98cba1ceb479f070dcd9873
tree506308bdafeb193054bc6cc38b63cd0ea138746c
parent08e5ccf3ae8f2c5c8319fec521e312f7e775cb84
KVM: i8254: remove pit and kvm from kvm_kpit_state

kvm isn't ever used and pit can be accessed with container_of.
If you *really* need kvm, pit_state_to_pit(ps)->kvm.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/i8254.c
arch/x86/kvm/i8254.h