Remove unnecessary casts from PCI DMA code in PCI IDE
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 4 Nov 2011 01:03:34 +0000 (12:03 +1100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Dec 2011 17:16:52 +0000 (11:16 -0600)
commit859e538d506cee75ebc24ab46247a0121d9c6d2b
tree8d28ea42675be2ddbe2c133db81cd64e42f9836f
parent00c3a05b25533d7cb42b599509390fb1488d597c
Remove unnecessary casts from PCI DMA code in PCI IDE

This patch removes some unnecessary casts in the PCI IDE device,
introduced by commit 552908fef5b67ad9d96b76d7cb8371ebc26c9bc8
'PCI IDE: Use PCI DMA stub functions'.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ide/pci.c