KVM: set_memory_region: Remove unnecessary variable memslot
authorTakuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 11 Jan 2013 09:27:43 +0000 (18:27 +0900)
committerGleb Natapov <gleb@redhat.com>
Thu, 17 Jan 2013 12:27:59 +0000 (14:27 +0200)
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>

No differences found