OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efd6dd4
)
rtl8139: remove pointless cast from void *
author
Juan Quintela
<quintela@redhat.com>
Mon, 24 Aug 2009 16:42:40 +0000
(18:42 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:46:58 +0000
(20:46 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/rtl8139.c
patch
|
blob
|
history
diff --git
a/hw/rtl8139.c
b/hw/rtl8139.c
index
d5d945f
..
b3542a3
100644
(file)
--- 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;