diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-06-27 16:04:31 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-27 16:04:31 +0000 |
commit | 738012bec4c67e697e766edadab3f522c552a04d (patch) | |
tree | f989d39323170f589241207d57cf2cc032097819 /hw/mips_malta.c | |
parent | 8a911107386b5c7a78a629f0fe29381cf0ea5f6f (diff) |
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/mips_malta.c')
-rw-r--r-- | hw/mips_malta.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 23de7f0f30..9042b57ddf 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -456,7 +456,6 @@ static MaltaFPGAState *malta_fpga_init(target_phys_addr_t base, qemu_irq uart_ir } /* Audio support */ -#ifdef HAS_AUDIO static void audio_init (PCIBus *pci_bus) { struct soundhw *c; @@ -474,7 +473,6 @@ static void audio_init (PCIBus *pci_bus) } } } -#endif /* Network support */ static void network_init(void) @@ -970,9 +968,7 @@ void mips_malta_init (ram_addr_t ram_size, floppy_controller = fdctrl_init_isa(fd); /* Sound card */ -#ifdef HAS_AUDIO audio_init(pci_bus); -#endif /* Network card */ network_init(); |