aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-03-08 10:46:06 +0100
committerMarkus Armbruster <armbru@redhat.com>2019-03-11 22:53:44 +0100
commit5207c595eb8910eee3d329214e65d64e348985d1 (patch)
tree9bfdd4f5652572b457a1472c2466f4559c234b2e /exec.c
parent5a4abb197b2ee8e6c545a8ec6e0bf9ca4e470127 (diff)
downloadqemu-5207c595eb8910eee3d329214e65d64e348985d1.zip
qemu-5207c595eb8910eee3d329214e65d64e348985d1.tar.gz
qemu-5207c595eb8910eee3d329214e65d64e348985d1.tar.bz2
hw/mips/malta: Remove fl_sectors variable
Variable fl_sectors is used just once. Since fl_sectors = bios_size >> 16 and bios_size = FLASH_SIZE there, we can simply use FLASH_SIZE >> 16, and eliminate variable. 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-12-armbru@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions