qemu/hw/block
Markus Armbruster fb2575f954 block: Clean up local variable shadowing
Local variables shadowing other local variables or parameters make the
code needlessly hard to understand.  Tracked down with -Wshadow=local.
Clean up: delete inner declarations when they are actually redundant,
else rename variables.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230921121312.1301864-7-armbru@redhat.com>
2023-09-29 08:13:57 +02:00
..
dataplane
block.c
cdrom.c
ecc.c
fdc-internal.h
fdc-isa.c
fdc-sysbus.c
fdc.c
hd-geometry.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
Kconfig
m25p80.c
m25p80_sfdp.c
m25p80_sfdp.h
meson.build
nand.c
onenand.c
pflash_cfi01.c hw/other: spelling fixes 2023-09-21 11:31:16 +03:00
pflash_cfi02.c
swim.c
tc58128.c
trace-events
trace.h
vhost-user-blk.c
virtio-blk-common.c
virtio-blk.c
xen-block.c block: Clean up local variable shadowing 2023-09-29 08:13:57 +02:00
xen_blkif.h