From 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 Mon Sep 17 00:00:00 2001 From: malc Date: Thu, 14 May 2009 03:11:35 +0400 Subject: Remove any pretense that there can be more than one AudioState --- hw/es1370.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/es1370.c') diff --git a/hw/es1370.c b/hw/es1370.c index 99ee208a49..6589547167 100644 --- a/hw/es1370.c +++ b/hw/es1370.c @@ -1007,7 +1007,6 @@ static void es1370_on_reset (void *opaque) int es1370_init (PCIBus *bus) { - AudioState *audio = AUD_init(); PCIES1370State *d; ES1370State *s; uint8_t *c; @@ -1058,7 +1057,7 @@ int es1370_init (PCIBus *bus) register_savevm ("es1370", 0, 2, es1370_save, es1370_load, s); qemu_register_reset (es1370_on_reset, s); - AUD_register_card (audio, "es1370", &s->card); + AUD_register_card ("es1370", &s->card); es1370_reset (s); return 0; } -- cgit v1.2.3