aboutsummaryrefslogtreecommitdiff
path: root/hw/rtl8139.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-24 18:42:40 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:46:58 -0500
commit6597ebbbfa4b4c04685a0ddd59c6e0277a38f5ee (patch)
treef25a90a31bb57382a1b736e3a36ade4920b5a900 /hw/rtl8139.c
parentefd6dd4533bdf114b04a9bde543e0eaf75912978 (diff)
rtl8139: remove pointless cast from void *
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/rtl8139.c')
-rw-r--r--hw/rtl8139.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/rtl8139.c b/hw/rtl8139.c
index d5d945f20c..b3542a3d85 100644
--- a/hw/rtl8139.c
+++ b/hw/rtl8139.c
@@ -3118,7 +3118,7 @@ static uint32_t rtl8139_mmio_readl(void *opaque, target_phys_addr_t addr)
static void rtl8139_save(QEMUFile* f,void* opaque)
{
- RTL8139State* s=(RTL8139State*)opaque;
+ RTL8139State* s = opaque;
unsigned int i;
pci_device_save(&s->dev, f);
@@ -3206,7 +3206,7 @@ static void rtl8139_save(QEMUFile* f,void* opaque)
static int rtl8139_load(QEMUFile* f,void* opaque,int version_id)
{
- RTL8139State* s=(RTL8139State*)opaque;
+ RTL8139State* s = opaque;
unsigned int i;
int ret;