diff options
author | Thomas Huth <thuth@redhat.com> | 2015-10-15 10:54:15 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-11-06 15:42:38 +0300 |
commit | b21de19992cefdfef68217e50a8365ee5e535e10 (patch) | |
tree | 62bb709ac1e29278205f17edd21bd0507f12e216 /hw/net/pcnet-pci.c | |
parent | 5accecb3a6b49d8ca79684179610583e9c7c1bf5 (diff) | |
download | hqemu-b21de19992cefdfef68217e50a8365ee5e535e10.zip hqemu-b21de19992cefdfef68217e50a8365ee5e535e10.tar.gz |
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 'hw/net/pcnet-pci.c')
0 files changed, 0 insertions, 0 deletions