KVM: x86: Clean up duplicate assignment
authorSheng Yang <sheng@linux.intel.com>
Wed, 12 May 2010 08:40:41 +0000 (16:40 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:44 +0000 (10:35 +0300)
mmu.free() already set root_hpa to INVALID_PAGE, no need to do it again in the
destory_kvm_mmu().

kvm_x86_ops->set_cr4() and set_efer() already assign cr4/efer to
vcpu->arch.cr4/efer, no need to do it again later.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found