sm501: Misc clean ups
commit01d2d584c9e1d051892de115ab20787da62baf6a
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 21 Apr 2017 15:18:09 +0000 (21 17:18 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 24 Apr 2017 11:32:12 +0000 (24 12:32 +0100)
treedba63e29e6b5a7e3ddd0a63b681b9f659df7fdeb
parent6a2a5aae02b9a0b53807b9ad91f15cd4988781f9
sm501: Misc clean ups

- Rename a variable
- Move variable declarations out of loop to the beginning in draw_hwc_line

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 187c9e4e09d9bc2967b2454b36bb088ceef0b8bc.1492787889.git.balaton@eik.bme.hu
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/display/sm501.c
hw/display/sm501_template.h