KVM: MMU: remove unnecessary check
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Fri, 7 Sep 2012 06:15:03 +0000 (14:15 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 10 Sep 2012 08:26:16 +0000 (11:26 +0300)
commit7de5bdc96c372ab875408c86e0099958dba89f56
treeb67ff1a3675a43fad0d74a32155e4fdbc8eb1c89
parent92b5265d38f6a4d33e9d43974f176f18547687d6
KVM: MMU: remove unnecessary check

Checking the return of kvm_mmu_get_page is unnecessary since it is
guaranteed by memory cache

Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c