commit | a843fac2536d6d81335d7011dd7ec4e438161dd7 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> | Fri Jan 11 18:27:43 2013 +0900 |
committer | Gleb Natapov <gleb@redhat.com> | Thu Jan 17 14:27:59 2013 +0200 |
tree | bf08a9989c45f2e7e5d454eae5868b9efd5d630f | |
parent | 0a706beefb1de71bf8551f9860dc529ef14d6753 [diff] |
KVM: set_memory_region: Remove unnecessary variable memslot One such variable, slot, is enough for holding a pointer temporarily. We also remove another local variable named slot, which is limited in a block, since it is confusing to have the same name in this function. Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp> Signed-off-by: Gleb Natapov <gleb@redhat.com>