diff options
author | Radim Krčmář <rkrcmar@redhat.com> | 2016-03-02 22:56:48 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-04 09:30:12 +0100 |
commit | a3e1311549593692d98cba1ceb479f070dcd9873 (patch) | |
tree | 506308bdafeb193054bc6cc38b63cd0ea138746c /arch/x86/kvm/i8254.h | |
parent | KVM: i8254: refactor kvm_free_pit (diff) | |
download | linux-a3e1311549593692d98cba1ceb479f070dcd9873.tar.xz linux-a3e1311549593692d98cba1ceb479f070dcd9873.zip |
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>
Diffstat (limited to 'arch/x86/kvm/i8254.h')
-rw-r--r-- | arch/x86/kvm/i8254.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/i8254.h b/arch/x86/kvm/i8254.h index 1945635904a7..f365dce4fb8d 100644 --- a/arch/x86/kvm/i8254.h +++ b/arch/x86/kvm/i8254.h @@ -31,8 +31,6 @@ struct kvm_kpit_state { u32 speaker_data_on; struct mutex lock; - struct kvm *kvm; - struct kvm_pit *pit; bool reinject; atomic_t pending; /* accumulated triggered timers */ atomic_t irq_ack; |