OSDN Git Service

pcnet: pcnet_common_init() always returns 0, change to void
authorMarkus Armbruster <armbru@redhat.com>
Mon, 19 Jan 2015 14:52:31 +0000 (15:52 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 11:42:16 +0000 (12:42 +0100)
commit4c3b22459d3589cf84d1ccadc6b09e586497820d
tree42637bbc96ae36633dc934a98a8bde52994c398f
parent9af21dbee14c5165598d17115ade63184ec0dd8b
pcnet: pcnet_common_init() always returns 0, change to void

The next commit will exploit the fact it never fails.  This one makes
it obvious.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
hw/net/lance.c
hw/net/pcnet-pci.c
hw/net/pcnet.c
hw/net/pcnet.h