KVM: MMU: cleanup for function unaccount_shadowed()
authorWei Yongjun <yjwei@cn.fujitsu.com>
Fri, 16 Apr 2010 08:21:42 +0000 (16:21 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:18:12 +0000 (12:18 +0300)
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 <yjwei@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found