summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-09-14 09:58:32 +0200
committerAvi Kivity <avi@redhat.com>2011-12-27 11:17:05 +0200
commit3f2e5260f5a17d37be3e3c83aca2f335b9bf3893 (patch)
treea72ca61cd6b377b495b8aca591940a7b1db40882 /virt/kvm
parentb297e672e24687546ac74af5ae5e8c4a022b9806 (diff)
downloadop-kernel-dev-3f2e5260f5a17d37be3e3c83aca2f335b9bf3893.zip
op-kernel-dev-3f2e5260f5a17d37be3e3c83aca2f335b9bf3893.tar.gz
KVM: x86: Simplify kvm timer handler
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>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud