]> git.proxmox.com Git - mirror_qemu.git/commit
block: Remove unnecessary variable in bdrv_block_device_info
authorFabiano Rosas <farosas@suse.de>
Fri, 1 Sep 2023 18:46:05 +0000 (15:46 -0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Sep 2023 15:03:09 +0000 (17:03 +0200)
commitc3b29ae6b4e2bf70739e49154f24c8e850b34bf7
tree4781b9b2aeb920fe743ee61f274a4f4c211c1cbe
parentbe2e51c5034ffb2b8d9a4618e8f9b7ff82cb057c
block: Remove unnecessary variable in bdrv_block_device_info

The commit 5d8813593f ("block/qapi: Let bdrv_query_image_info()
recurse") removed the loop where we set the 'bs0' variable, so now it
is just the same as 'bs'.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230901184605.32260-3-farosas@suse.de>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qapi.c