diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-04-27 22:35:34 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-05-07 11:29:47 +0200 |
commit | d90e3a35e90af7f8beceebefc90e62eae237c5ed (patch) | |
tree | b2de53c5c59c57b47f8c1424164ed9000df170e1 /README | |
parent | 74545705cb2e398efc3cd751628c58f021323434 (diff) |
KVM: x86: drop unneeded null test
If the null test is needed, the call to cancel_delayed_work_sync would have
already crashed. Normally, the destroy function should only be called
if the init function has succeeded, in which case ioapic is not null.
Problem found using Coccinelle.
Suggested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions