]> git.proxmox.com Git - mirror_qemu.git/commit
sm501: Drop unneded variable
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 20 Jun 2020 20:56:28 +0000 (22:56 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jun 2020 20:46:28 +0000 (22:46 +0200)
commit4decaad9d295c8598bbcba09c40d3fd4a115f1e8
tree08b4f135ab507318d5c171d8e66923c266182aa0
parent84ec3f940289dfba9b6de531c9aac7f089fc6c8f
sm501: Drop unneded variable

We don't need a separate variable to keep track if we allocated memory
that needs to be freed as we can test the pointer itself.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: ff9136c3151a15cdfa1d9b7a68acf11cffb8efa4.1592686588.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/sm501.c