From: Juan Quintela Date: Mon, 24 Aug 2009 16:42:36 +0000 (+0200) Subject: eepro100: cast a void * makes no sense X-Git-Tag: v0.12.0-rc0~1412 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=769cf7a50e2d88270df34aa57846e0c88de9535f;p=thirdparty%2Fqemu.git eepro100: cast a void * makes no sense Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/hw/eepro100.c b/hw/eepro100.c index 722eb5ac714..6333ca1a576 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -507,7 +507,7 @@ static void nic_selective_reset(EEPRO100State * s) static void nic_reset(void *opaque) { - EEPRO100State *s = (EEPRO100State *) opaque; + EEPRO100State *s = opaque; logout("%p\n", s); static int first; if (!first) { @@ -1548,7 +1548,7 @@ static ssize_t nic_receive(VLANClientState *vc, const uint8_t * buf, size_t size static int nic_load(QEMUFile * f, void *opaque, int version_id) { - EEPRO100State *s = (EEPRO100State *) opaque; + EEPRO100State *s = opaque; int i; int ret; @@ -1638,7 +1638,7 @@ static int nic_load(QEMUFile * f, void *opaque, int version_id) static void nic_save(QEMUFile * f, void *opaque) { - EEPRO100State *s = (EEPRO100State *) opaque; + EEPRO100State *s = opaque; int i; if (s->pci_dev)