KVM: x86: Simplify kvm timer handler
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 14 Sep 2011 07:58:32 +0000 (09:58 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:17:05 +0000 (11:17 +0200)
The vcpu reference of a kvm_timer can't become NULL while the timer is
valid, so drop this redundant test. This also makes it pointless to
carry a separate __kvm_timer_fn, fold it into kvm_timer_fn.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found