summaryrefslogtreecommitdiffstats
path: root/hw/arm/omap_sx1.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2019-03-08 10:46:07 +0100
committerMarkus Armbruster2019-03-11 22:53:44 +0100
commit74c02ebd80fa331361c431d8dbfcba45a2a36e85 (patch)
tree57b4a589a5030020d5d3a32ffa9968548dded1d4 /hw/arm/omap_sx1.c
parenthw/mips/malta: Remove fl_sectors variable (diff)
downloadqemu-74c02ebd80fa331361c431d8dbfcba45a2a36e85.tar.gz
qemu-74c02ebd80fa331361c431d8dbfcba45a2a36e85.tar.xz
qemu-74c02ebd80fa331361c431d8dbfcba45a2a36e85.zip
hw/mips/malta: Restrict 'bios_size' variable scope
The 'bios_size' variable is only used in the 'if (!kernel_filename && !dinfo)' clause. This is the case when we don't provide -pflash command line option, and also don't provide a -kernel option. In this case we will check for the -bios option, or use the default BIOS_FILENAME file. The 'bios' term is valid in this if statement, but is confuse in the whole mips_malta_init() scope. Restrict his scope. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190308094610.21210-13-armbru@redhat.com>
Diffstat (limited to 'hw/arm/omap_sx1.c')
0 files changed, 0 insertions, 0 deletions