Message ID | 1245072197-7538-8-git-send-email-gleb@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/apic.c b/hw/apic.c index f186202..eac54fd 100644 --- a/hw/apic.c +++ b/hw/apic.c @@ -471,8 +471,7 @@ static void apic_init_ipi(APICState *s) s->cpu_env->halted = 1; if (kvm_enabled() && !qemu_kvm_irqchip_in_kernel()) - if (s->cpu_env) - kvm_apic_init(s->cpu_env); + kvm_apic_init(s->cpu_env); } /* send a SIPI message to the CPU to start it */
Remove redundant check. Signed-off-by: Gleb Natapov <gleb@redhat.com> --- hw/apic.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)