KVM: MMU: remove the redundant get_written_sptes
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Fri, 16 Dec 2011 10:18:10 +0000 (18:18 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:18 +0000 (14:52 +0200)
commita138fe7535c0ec778465c7b54b1aaaf4cfd885b7
tree08c8f5bf5edf847d5127a00a6041b0629cc24045
parent6addd1aa2ca28c054820ef2966ad372f118c3f31
KVM: MMU: remove the redundant get_written_sptes

get_written_sptes is called twice in kvm_mmu_pte_write, one of them can be
removed

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