qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Serge Ziryukin <ftrvxmtrx@gmail.com>
To: qemu-devel@nongnu.org
Cc: Serge Ziryukin <ftrvxmtrx@gmail.com>
Subject: [Qemu-devel] [PATCH 1/2] WM8750: clean up dead code
Date: Thu, 19 Aug 2010 18:44:12 +0300	[thread overview]
Message-ID: <1282232653-32084-1-git-send-email-ftrvxmtrx@gmail.com> (raw)

Signed-off-by: Serge Ziryukin <ftrvxmtrx@gmail.com>
---
 hw/wm8750.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/hw/wm8750.c b/hw/wm8750.c
index ce43c23..c9c6744 100644
--- a/hw/wm8750.c
+++ b/hw/wm8750.c
@@ -171,7 +171,6 @@ static void wm8750_set_format(WM8750State *s)
     int i;
     struct audsettings in_fmt;
     struct audsettings out_fmt;
-    struct audsettings monoout_fmt;
 
     wm8750_out_flush(s);
 
@@ -212,10 +211,6 @@ static void wm8750_set_format(WM8750State *s)
     out_fmt.nchannels = 2;
     out_fmt.freq = s->dac_hz;
     out_fmt.fmt = AUD_FMT_S16;
-    monoout_fmt.endianness = 0;
-    monoout_fmt.nchannels = 1;
-    monoout_fmt.freq = s->rate->dac_hz;
-    monoout_fmt.fmt = AUD_FMT_S16;
 
     s->dac_voice[0] = AUD_open_out(&s->card, s->dac_voice[0],
                     CODEC ".speaker", s, wm8750_audio_out_cb, &out_fmt);
-- 
1.7.2.1

             reply	other threads:[~2010-08-19 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19 15:44 Serge Ziryukin [this message]
2010-08-19 15:44 ` [Qemu-devel] [PATCH 2/2] ui/sdl: clean up dead code Serge Ziryukin

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=1282232653-32084-1-git-send-email-ftrvxmtrx@gmail.com \
    --to=ftrvxmtrx@gmail.com \
    --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).