summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThomas Huth2015-10-15 10:54:15 +0200
committerMichael Tokarev2015-11-06 13:42:38 +0100
commitb21de19992cefdfef68217e50a8365ee5e535e10 (patch)
tree62bb709ac1e29278205f17edd21bd0507f12e216 /scripts
parentgdbstub: Fix buffer overflows in gdb_handle_packet() (diff)
downloadqemu-b21de19992cefdfef68217e50a8365ee5e535e10.tar.gz
qemu-b21de19992cefdfef68217e50a8365ee5e535e10.tar.xz
qemu-b21de19992cefdfef68217e50a8365ee5e535e10.zip
hw/display/tcx: Remove superfluous OBJECT() typecasts
The tcx_initfn() function is already supplied with an Object *obj pointer, so there is no need to cast the state pointer back to an Object pointer all over the place. And while we're at it, also remove the superfluous "return;" statement in this function. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions