From: Wei Yongjun Date: Fri, 16 Apr 2010 08:21:42 +0000 (+0800) Subject: KVM: MMU: cleanup for function unaccount_shadowed() X-Git-Tag: v2.6.35-rc1~436^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77a1a715707d0f60ce0cfbe44070527a0a561f01;p=pandora-kernel.git KVM: MMU: cleanup for function unaccount_shadowed() Since gfn is not changed in the for loop, we do not need to call gfn_to_memslot_unaliased() under the loop, and it is safe to move it out. Signed-off-by: Wei Yongjun Signed-off-by: Avi Kivity --- Reading git-diff-tree failed