From 738012bec4c67e697e766edadab3f522c552a04d Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 27 Jun 2010 16:04:31 +0000 Subject: Remove useless device dependency of HAS_AUDIO System architecture dictates whether HAS_AUDIO is defined. It's then useless to check for HAS_AUDIO in files which are only used on those architectures which always have audio. Signed-off-by: Blue Swirl --- hw/pc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index 1848151..e67eeb4 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -721,7 +721,6 @@ static const int ne2000_irq[NE2000_NB_MAX] = { 9, 10, 11, 3, 4, 5 }; static const int parallel_io[MAX_PARALLEL_PORTS] = { 0x378, 0x278, 0x3bc }; static const int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 }; -#ifdef HAS_AUDIO void pc_audio_init (PCIBus *pci_bus, qemu_irq *pic) { struct soundhw *c; @@ -738,7 +737,6 @@ void pc_audio_init (PCIBus *pci_bus, qemu_irq *pic) } } } -#endif void pc_init_ne2k_isa(NICInfo *nd) { -- cgit v1.1