summaryrefslogtreecommitdiffstats
path: root/hw/pc_piix.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_piix.c
parent8a911107386b5c7a78a629f0fe29381cf0ea5f6f (diff)
downloadhqemu-738012bec4c67e697e766edadab3f522c552a04d.zip
hqemu-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_piix.c')
-rw-r--r--hw/pc_piix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/pc_piix.c b/hw/pc_piix.c
index 68040b7..f670fd7 100644
--- a/hw/pc_piix.c
+++ b/hw/pc_piix.c
@@ -140,9 +140,7 @@ static void pc_init1(ram_addr_t ram_size,
}
}
-#ifdef HAS_AUDIO
pc_audio_init(pci_enabled ? pci_bus : NULL, isa_irq);
-#endif
pc_cmos_init(below_4g_mem_size, above_4g_mem_size, boot_device, hd,
floppy_controller, rtc_state);
OpenPOWER on IntegriCloud