pci: Replace unneeded type casts in calls of pci_register_bar
commitb90c73cf475d69959dde208d00961c3cb7a57475
authorStefan Weil <weil@mail.berlios.de>
Fri, 19 Nov 2010 18:29:07 +0000 (19 19:29 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 22 Nov 2010 08:00:06 +0000 (22 10:00 +0200)
tree0d940813e4ebb1304719669de403d854bb7b16d8
parentbba5ed772a562fefdb218df8d821c3b537ce5759
pci: Replace unneeded type casts in calls of pci_register_bar

There is no need for these type casts (as other existing
code shows). So re-write the first argument without
type cast (and remove a related TODO comment).

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/cirrus_vga.c
hw/e1000.c
hw/ide/via.c
hw/lsi53c895a.c
hw/openpic.c
hw/usb-ohci.c