Received: from [140.186.70.92] (port=35259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om7Ig-0007IE-Pd for qemu-devel@nongnu.org; Thu, 19 Aug 2010 11:45:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om7If-0001ve-HG for qemu-devel@nongnu.org; Thu, 19 Aug 2010 11:45:06 -0400 Received: from mail-ew0-f45.google.com ([209.85.215.45]:50130) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om7If-0001u8-BG for qemu-devel@nongnu.org; Thu, 19 Aug 2010 11:45:05 -0400 Received: by mail-ew0-f45.google.com with SMTP id 27so1517893ewy.4 for ; Thu, 19 Aug 2010 08:45:04 -0700 (PDT) From: Serge Ziryukin Date: Thu, 19 Aug 2010 18:44:12 +0300 Message-Id: <1282232653-32084-1-git-send-email-ftrvxmtrx@gmail.com> Subject: [Qemu-devel] [PATCH 1/2] WM8750: clean up dead code List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Serge Ziryukin Signed-off-by: Serge Ziryukin --- 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