diff options
author | Juan Quintela | 2009-10-14 22:58:14 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-10-27 18:28:47 +0100 |
commit | 4f423e81a926e2f27c4d71613eefd92c40022136 (patch) | |
tree | 377583eb81949a773328e9c448272191b3523f47 /hw/wdt_i6300esb.c | |
parent | wdt_i6300esb: port to vmstate (diff) | |
download | qemu-4f423e81a926e2f27c4d71613eefd92c40022136.tar.gz qemu-4f423e81a926e2f27c4d71613eefd92c40022136.tar.xz qemu-4f423e81a926e2f27c4d71613eefd92c40022136.zip |
wdt_i6300esb: remove useless casts from void *
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/wdt_i6300esb.c')
-rw-r--r-- | hw/wdt_i6300esb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c index ab8210b215..3d920ead2e 100644 --- a/hw/wdt_i6300esb.c +++ b/hw/wdt_i6300esb.c @@ -163,7 +163,7 @@ static void i6300esb_reset(I6300State *d) */ static void i6300esb_timer_expired(void *vp) { - I6300State *d = (I6300State *) vp; + I6300State *d = vp; i6300esb_debug("stage %d\n", d->stage); @@ -257,7 +257,7 @@ static uint32_t i6300esb_mem_readb(void *vp, target_phys_addr_t addr) static uint32_t i6300esb_mem_readw(void *vp, target_phys_addr_t addr) { uint32_t data = 0; - I6300State *d = (I6300State *) vp; + I6300State *d = vp; i6300esb_debug("addr = %x\n", (int) addr); @@ -281,7 +281,7 @@ static uint32_t i6300esb_mem_readl(void *vp, target_phys_addr_t addr) static void i6300esb_mem_writeb(void *vp, target_phys_addr_t addr, uint32_t val) { - I6300State *d = (I6300State *) vp; + I6300State *d = vp; i6300esb_debug("addr = %x, val = %x\n", (int) addr, val); @@ -293,7 +293,7 @@ static void i6300esb_mem_writeb(void *vp, target_phys_addr_t addr, uint32_t val) static void i6300esb_mem_writew(void *vp, target_phys_addr_t addr, uint32_t val) { - I6300State *d = (I6300State *) vp; + I6300State *d = vp; i6300esb_debug("addr = %x, val = %x\n", (int) addr, val); @@ -326,7 +326,7 @@ static void i6300esb_mem_writew(void *vp, target_phys_addr_t addr, uint32_t val) static void i6300esb_mem_writel(void *vp, target_phys_addr_t addr, uint32_t val) { - I6300State *d = (I6300State *) vp; + I6300State *d = vp; i6300esb_debug ("addr = %x, val = %x\n", (int) addr, val); |