mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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>
This commit is contained in:
parent
8a91110738
commit
738012bec4
8 changed files with 0 additions and 26 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue