]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: VMX: Remove redundant check in handle_rmode_exception
authorMohammed Gamal <m.gamal005@gmail.com>
Sat, 12 Jul 2008 13:02:08 +0000 (16:02 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:13 +0000 (10:15 +0200)
commit60bd83a125030878665684f353c7d36fd54f09fd
tree1a8b3c6ad1ae90e7a3275ceec56861ed3a06ab57
parentf7d9238f5dc9306fd3bf1653c2939eef72f94d06
KVM: VMX: Remove redundant check in handle_rmode_exception

Since checking for vcpu->arch.rmode.active is already done whenever we
call handle_rmode_exception(), checking it inside the function is redundant.

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/vmx.c