mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
KVM: get rid of kvm_create_vm() unused label warning on s390
arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_create_vm': arch/s390/kvm/../../../virt/kvm/kvm_main.c:409: warning: label 'out_err' defined but not used Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
5279aeb4b9
commit
b4329db0d7
@ -406,8 +406,11 @@ static struct kvm *kvm_create_vm(void)
|
||||
out:
|
||||
return kvm;
|
||||
|
||||
#if defined(KVM_COALESCED_MMIO_PAGE_OFFSET) || \
|
||||
(defined(CONFIG_MMU_NOTIFIER) && defined(KVM_ARCH_WANT_MMU_NOTIFIER))
|
||||
out_err:
|
||||
hardware_disable_all();
|
||||
#endif
|
||||
out_err_nodisable:
|
||||
kfree(kvm);
|
||||
return ERR_PTR(r);
|
||||
|
Loading…
Reference in New Issue
Block a user