KVM: MMU: drop superfluous is_present_gpte() check.
authorGleb Natapov <gleb@redhat.com>
Wed, 30 Jan 2013 14:45:04 +0000 (16:45 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 5 Feb 2013 01:24:28 +0000 (23:24 -0200)
commiteb3fce87ccc5d38b1ad340f32e34abc09911fb83
treeaa9a217df01e72c47752b5c9c26774355b9d6573
parent116eb3d30e7e121bfc6117ac037833865dad4971
KVM: MMU: drop superfluous is_present_gpte() check.

Gust page walker puts only present ptes into ptes[] array. No need to
check it again.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/paging_tmpl.h