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)
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>

No differences found