summaryrefslogtreecommitdiffstats
path: root/hw/net/pcnet-pci.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2015-10-15 10:54:15 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2015-11-06 15:42:38 +0300
commitb21de19992cefdfef68217e50a8365ee5e535e10 (patch)
tree62bb709ac1e29278205f17edd21bd0507f12e216 /hw/net/pcnet-pci.c
parent5accecb3a6b49d8ca79684179610583e9c7c1bf5 (diff)
downloadhqemu-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
OpenPOWER on IntegriCloud