KVM: remove unnecessary return value check
authorGuo Chao <yan@linux.vnet.ibm.com>
Fri, 2 Nov 2012 10:33:23 +0000 (18:33 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 14 Nov 2012 00:14:29 +0000 (22:14 -0200)
commit807f12e57c9783458b8c07f63eff3c3e1df8ab5d
tree7560f5d4fb19bf4637b59f926eda4512232a921e
parent951179ce86f5599e2dfb9de254056e91bd865f15
KVM: remove unnecessary return value check

No need to check return value before breaking switch.

Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c
virt/kvm/kvm_main.c