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_piix.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/pc_piix.c') diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 68040b7394..f670fd7a78 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); -- cgit v1.2.3