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)
commit62ad07551a2ace89e35604d1c55fdae1dd3359a8
treefa62d906a519406340b93f692f503655b2602b1c
parent222b7c52c33bdef721248bfeba992af495800d30
KVM: x86: Clean up duplicate assignment

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>
arch/x86/kvm/mmu.c
arch/x86/kvm/x86.c