diff mbox series

[2/3] ppc: remove obsolete macio_init() definition from mac.h

Message ID 20180607165955.10232-3-mark.cave-ayland@ilande.co.uk
State New
Headers show
Series ppc: trivial Mac fixes | expand

Commit Message

Mark Cave-Ayland June 7, 2018, 4:59 p.m. UTC
Commits b6712ea391 removed the macio_init() function but missed the header
prototype in mac.h. Remove it since it is no longer needed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
 hw/ppc/mac.h | 3 ---
 1 file changed, 3 deletions(-)

Comments

Philippe Mathieu-Daudé June 7, 2018, 5:13 p.m. UTC | #1
On 06/07/2018 01:59 PM, Mark Cave-Ayland wrote:
> Commits b6712ea391 removed the macio_init() function but missed the header
> prototype in mac.h. Remove it since it is no longer needed.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

> ---
>  hw/ppc/mac.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h
> index dac96317af..89fa8bbed7 100644
> --- a/hw/ppc/mac.h
> +++ b/hw/ppc/mac.h
> @@ -91,9 +91,6 @@ typedef struct MACIOIDEState {
>  void macio_ide_init_drives(MACIOIDEState *ide, DriveInfo **hd_table);
>  void macio_ide_register_dma(MACIOIDEState *ide);
>  
> -void macio_init(PCIDevice *dev,
> -                MemoryRegion *pic_mem);
> -
>  /* Grackle PCI */
>  #define TYPE_GRACKLE_PCI_HOST_BRIDGE "grackle-pcihost"
>  
>
diff mbox series

Patch

diff --git a/hw/ppc/mac.h b/hw/ppc/mac.h
index dac96317af..89fa8bbed7 100644
--- a/hw/ppc/mac.h
+++ b/hw/ppc/mac.h
@@ -91,9 +91,6 @@  typedef struct MACIOIDEState {
 void macio_ide_init_drives(MACIOIDEState *ide, DriveInfo **hd_table);
 void macio_ide_register_dma(MACIOIDEState *ide);
 
-void macio_init(PCIDevice *dev,
-                MemoryRegion *pic_mem);
-
 /* Grackle PCI */
 #define TYPE_GRACKLE_PCI_HOST_BRIDGE "grackle-pcihost"