summaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-06-27 16:04:31 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-06-27 16:04:31 +0000
commit738012bec4c67e697e766edadab3f522c552a04d (patch)
treef989d39323170f589241207d57cf2cc032097819 /hw/pc.c
parent8a911107386b5c7a78a629f0fe29381cf0ea5f6f (diff)
downloadqemu-738012bec4c67e697e766edadab3f522c552a04d.tar.gz
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 <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 1848151019..e67eeb4869 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)
{