diff options
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -788,17 +788,13 @@ static void audio_init (PCIBus *pci_bus, qemu_irq *pic) } if (audio_enabled) { - AudioState *s; - - s = AUD_init (); for (c = soundhw; c->name; ++c) { if (c->enabled) { if (c->isa) { - c->init.init_isa (s, pic); - } - else { + c->init.init_isa(pic); + } else { if (pci_bus) { - c->init.init_pci (pci_bus, s); + c->init.init_pci(pci_bus); } } } |