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/pc.c | |
parent | 8a911107386b5c7a78a629f0fe29381cf0ea5f6f (diff) | |
download | qemu-738012bec4c67e697e766edadab3f522c552a04d.zip qemu-738012bec4c67e697e766edadab3f522c552a04d.tar.gz qemu-738012bec4c67e697e766edadab3f522c552a04d.tar.bz2 |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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) { |