sm501: Clean up local variables in sm501_2d_operation
commit3d0b096298b5579a7fa0753ad90968b27bc65372
authorBALATON Zoltan <balaton@eik.bme.hu>
Thu, 21 May 2020 19:39:44 +0000 (21 21:39 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 28 May 2020 09:38:57 +0000 (28 11:38 +0200)
tree1b7ce386a596c2a83e08e81b5553db8ed4b4d6e1
parent2824809b7f8f03ddc6e2b7e33e78c06022424298
sm501: Clean up local variables in sm501_2d_operation

Make variables local to the block they are used in to make it clearer
which operation they are needed for.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: ae59f8138afe7f6a5a4a82539d0f61496a906b06.1590089984.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/sm501.c