From: Hervé Poussineau Date: Sun, 18 Sep 2011 14:27:23 +0000 (+0200) Subject: adlib: remove write-only variable X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~2330 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f64a00a8217f19e2d246952eda63599a94eb3cf6;p=sdk%2Femulator%2Fqemu.git adlib: remove write-only variable Signed-off-by: Hervé Poussineau Signed-off-by: Anthony Liguori --- diff --git a/hw/adlib.c b/hw/adlib.c index c1c46e3573..e4bfcc6420 100644 --- a/hw/adlib.c +++ b/hw/adlib.c @@ -119,7 +119,6 @@ static IO_WRITE_PROTO (adlib_write) { AdlibState *s = opaque; int a = nport & 3; - int status; s->active = 1; AUD_set_active_out (s->voice, 1); @@ -127,9 +126,9 @@ static IO_WRITE_PROTO (adlib_write) adlib_kill_timers (s); #ifdef HAS_YMF262 - status = YMF262Write (0, a, val); + YMF262Write (0, a, val); #else - status = OPLWrite (s->opl, a, val); + OPLWrite (s->opl, a, val); #endif }