qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: "Hervé Poussineau" <hpoussin@reactos.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] adlib: remove write-only variable
Date: Fri, 23 Sep 2011 13:51:10 -0500	[thread overview]
Message-ID: <4E7CD51E.8090509@codemonkey.ws> (raw)
In-Reply-To: <1316356043-31252-1-git-send-email-hpoussin@reactos.org>

On 09/18/2011 09:27 AM, Hervé Poussineau wrote:
>
> Signed-off-by: Hervé Poussineau<hpoussin@reactos.org>

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
>   }
>

      reply	other threads:[~2011-09-23 18:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 14:27 [Qemu-devel] [PATCH] adlib: remove write-only variable Hervé Poussineau
2011-09-23 18:51 ` Anthony Liguori [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E7CD51E.8090509@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=hpoussin@reactos.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).