Skip to content

Commit

Permalink
KVM: ARM: cleanup kvm_timer_hyp_init
Browse files Browse the repository at this point in the history
Remove two unnecessary labels now that kvm_timer_hyp_init is not
creating its own workqueue anymore.

Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
  • Loading branch information
bonzini authored and chazy committed Sep 8, 2016
1 parent 3272f0d commit 5d947a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions virt/kvm/arm/arch_timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,18 +445,14 @@ int kvm_timer_hyp_init(void)
if (err) {
kvm_err("kvm_arch_timer: can't request interrupt %d (%d)\n",
host_vtimer_irq, err);
goto out;
return err;
}

kvm_info("virtual timer IRQ%d\n", host_vtimer_irq);

cpuhp_setup_state(CPUHP_AP_KVM_ARM_TIMER_STARTING,
"AP_KVM_ARM_TIMER_STARTING", kvm_timer_starting_cpu,
kvm_timer_dying_cpu);
goto out;
out_free:
free_percpu_irq(host_vtimer_irq, kvm_get_running_vcpus());
out:
return err;
}

Expand Down

0 comments on commit 5d947a1

Please sign in to comment.