From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7AqC-0007cF-Eu for qemu-devel@nongnu.org; Fri, 23 Sep 2011 14:51:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7Aq9-0000QQ-QL for qemu-devel@nongnu.org; Fri, 23 Sep 2011 14:51:16 -0400 Received: from mail-yw0-f45.google.com ([209.85.213.45]:42764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7Aq9-0000QF-N8 for qemu-devel@nongnu.org; Fri, 23 Sep 2011 14:51:13 -0400 Received: by ywm39 with SMTP id 39so3689975ywm.4 for ; Fri, 23 Sep 2011 11:51:13 -0700 (PDT) Message-ID: <4E7CD51E.8090509@codemonkey.ws> Date: Fri, 23 Sep 2011 13:51:10 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1316356043-31252-1-git-send-email-hpoussin@reactos.org> In-Reply-To: <1316356043-31252-1-git-send-email-hpoussin@reactos.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] adlib: remove write-only variable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?SGVydsOpIFBvdXNzaW5lYXU=?= Cc: qemu-devel@nongnu.org On 09/18/2011 09:27 AM, Hervé Poussineau wrote: > > Signed-off-by: Hervé Poussineau Applied. Thanks. Regards, Anthony Liguori > --- > hw/adlib.c | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/hw/adlib.c b/hw/adlib.c > index d98aebc..66db797 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 > } >