git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a706be
)
KVM: set_memory_region: Remove unnecessary variable memslot
author
Takuya Yoshikawa
<yoshikawa_takuya_b1@lab.ntt.co.jp>
Fri, 11 Jan 2013 09:27:43 +0000
(18:27 +0900)
committer
Gleb 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