diff options
| author | Peter Maydell | 2018-08-24 14:17:49 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-08-24 14:17:49 +0200 |
| commit | ea662f7cc8685622f393cdb7f7b7d243797a8af5 (patch) | |
| tree | 1b85d895a318dd19abced1268be2f824145c9729 /include/hw/display | |
| parent | hw/misc/bcm2835_property: Track fb settings using BCM2835FBConfig (diff) | |
| download | qemu-ea662f7cc8685622f393cdb7f7b7d243797a8af5.tar.gz qemu-ea662f7cc8685622f393cdb7f7b7d243797a8af5.tar.xz qemu-ea662f7cc8685622f393cdb7f7b7d243797a8af5.zip | |
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
Diffstat (limited to 'include/hw/display')
| -rw-r--r-- | include/hw/display/bcm2835_fb.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/display/bcm2835_fb.h b/include/hw/display/bcm2835_fb.h index b965698d28..69cbf2d1fd 100644 --- a/include/hw/display/bcm2835_fb.h +++ b/include/hw/display/bcm2835_fb.h @@ -47,10 +47,6 @@ typedef struct { bool lock, invalidate, pending; BCM2835FBConfig config; - - /* These are just cached values calculated from the config settings */ - uint32_t size; - uint32_t pitch; } BCM2835FBState; void bcm2835_fb_reconfigure(BCM2835FBState *s, BCM2835FBConfig *newconfig); |
