]> git.proxmox.com Git - mirror_qemu.git/commit
hw/display/bcm2835_fb: Drop unused size and pitch fields
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:49 +0000 (13:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Aug 2018 12:17:49 +0000 (13:17 +0100)
commitea662f7cc8685622f393cdb7f7b7d243797a8af5
tree1b85d895a318dd19abced1268be2f824145c9729
parent193100b571755023690787bcb1ebc91fcc03ed50
hw/display/bcm2835_fb: Drop unused size and pitch fields

The BCM2835FBState struct has a 'pitch' field which is a
cached copy of xres * (bpp >> 3), and a 'size' field which is
a cached copy of pitch * yres. However we don't actually do
anything with these fields; delete them. We retain the
now-unused slots in the VMState struct for migration
compatibility.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180814144436.679-4-peter.maydell@linaro.org
hw/display/bcm2835_fb.c
include/hw/display/bcm2835_fb.h