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>
Showing
- hw/cirrus_vga.c 2 additions, 2 deletionshw/cirrus_vga.c
- hw/e1000.c 2 additions, 2 deletionshw/e1000.c
- hw/ide/via.c 1 addition, 1 deletionhw/ide/via.c
- hw/lsi53c895a.c 3 additions, 4 deletionshw/lsi53c895a.c
- hw/openpic.c 1 addition, 1 deletionhw/openpic.c
- hw/usb-ohci.c 1 addition, 1 deletionhw/usb-ohci.c
Loading
Please register or sign in to comment