aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/qtest.py
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2020-06-20 22:56:28 +0200
committerGerd Hoffmann <kraxel@redhat.com>2020-06-30 22:46:28 +0200
commit299778d5af207b298224d2c610324941b8561006 (patch)
treef3752e6c330bf8b08326696b5232ebac82694682 /python/qemu/qtest.py
parent1cb62e3666b48ac4c6a22340165e21439919908f (diff)
downloadqemu-299778d5af207b298224d2c610324941b8561006.zip
qemu-299778d5af207b298224d2c610324941b8561006.tar.gz
qemu-299778d5af207b298224d2c610324941b8561006.tar.bz2
sm501: Introduce variable for commonly used value for better readability
The bytes per pixel value can be calculated from format but it's used freqently enough (and will be used more in subseqent patches) so store it in a variable for better readabilty. Also drop some unneded 0x prefix around where new variable is defined. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: b9ea5ef2d68583db9f3fb73a2b859abbd7c044a8.1592686588.git.balaton@eik.bme.hu Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'python/qemu/qtest.py')
0 files changed, 0 insertions, 0 deletions