提交 3a8bae3e 编写于 作者: M malc

Remove dead code

Signed-off-by: Nmalc <av1474@comtv.ru>
上级 26d64a85
......@@ -778,13 +778,7 @@ static int parallel_irq[MAX_PARALLEL_PORTS] = { 7, 7, 7 };
static void audio_init (PCIBus *pci_bus, qemu_irq *pic)
{
struct soundhw *c;
int audio_enabled = 0;
for (c = soundhw; !audio_enabled && c->name; ++c) {
audio_enabled = c->enabled;
}
if (audio_enabled) {
for (c = soundhw; c->name; ++c) {
if (c->enabled) {
if (c->isa) {
......@@ -796,7 +790,6 @@ static void audio_init (PCIBus *pci_bus, qemu_irq *pic)
}
}
}
}
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册