aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/mips_malta.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/hw/mips_malta.c b/hw/mips_malta.c
index 9786023c30..d8e9391045 100644
--- a/hw/mips_malta.c
+++ b/hw/mips_malta.c
@@ -451,17 +451,8 @@ static void audio_init (PCIBus *pci_bus)
s = AUD_init ();
if (s) {
for (c = soundhw; c->name; ++c) {
- if (c->enabled) {
- if (c->isa) {
- fprintf(stderr, "qemu: Unsupported Sound Card: %s\n", c->name);
- exit(1);
- }
- else {
- if (pci_bus) {
- c->init.init_pci (pci_bus, s);
- }
- }
- }
+ if (c->enabled)
+ c->init.init_pci (pci_bus, s);
}
}
}