diff options
author | Hervé Poussineau <hpoussin@reactos.org> | 2011-12-15 22:10:01 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-20 15:44:31 -0600 |
commit | 4a0f031d5bd2399eec5eea062e44b5271a855faf (patch) | |
tree | 6d66829cdc94ed55279c3c955a37b7acf2375e15 /arch_init.c | |
parent | d3c68e4f45b54c447c9a169533c286cb1be62b59 (diff) | |
download | qemu-4a0f031d5bd2399eec5eea062e44b5271a855faf.zip qemu-4a0f031d5bd2399eec5eea062e44b5271a855faf.tar.gz qemu-4a0f031d5bd2399eec5eea062e44b5271a855faf.tar.bz2 |
audio: remove unused parameter isa_pic
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r-- | arch_init.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch_init.c b/arch_init.c index 3bc2a41..d4c92b0 100644 --- a/arch_init.c +++ b/arch_init.c @@ -473,7 +473,7 @@ struct soundhw { int enabled; int isa; union { - int (*init_isa) (ISABus *bus, qemu_irq *pic); + int (*init_isa) (ISABus *bus); int (*init_pci) (PCIBus *bus); } init; }; @@ -628,15 +628,15 @@ void select_soundhw(const char *optarg) } } -void audio_init(ISABus *isa_bus, qemu_irq *isa_pic, PCIBus *pci_bus) +void audio_init(ISABus *isa_bus, PCIBus *pci_bus) { struct soundhw *c; for (c = soundhw; c->name; ++c) { if (c->enabled) { if (c->isa) { - if (isa_pic) { - c->init.init_isa(isa_bus, isa_pic); + if (isa_bus) { + c->init.init_isa(isa_bus); } } else { if (pci_bus) { @@ -650,7 +650,7 @@ void audio_init(ISABus *isa_bus, qemu_irq *isa_pic, PCIBus *pci_bus) void select_soundhw(const char *optarg) { } -void audio_init(ISABus *isa_bus, qemu_irq *isa_pic, PCIBus *pci_bus) +void audio_init(ISABus *isa_bus, PCIBus *pci_bus) { } #endif |