diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2020-06-20 22:56:28 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-06-30 22:46:28 +0200 |
| commit | 299778d5af207b298224d2c610324941b8561006 (patch) | |
| tree | f3752e6c330bf8b08326696b5232ebac82694682 /scripts/tracetool/backend/ust.py | |
| parent | 1cb62e3666b48ac4c6a22340165e21439919908f (diff) | |
| download | focaccia-qemu-299778d5af207b298224d2c610324941b8561006.tar.gz focaccia-qemu-299778d5af207b298224d2c610324941b8561006.zip | |
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 'scripts/tracetool/backend/ust.py')
0 files changed, 0 insertions, 0 deletions