alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Liam Girdwood <lrg@slimlogic.co.uk>
To: Wan ZongShun <mcuos.com@gmail.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	jassi.brar@samsung.com, Ben Dooks <ben-linux@fluff.org>
Subject: Re: [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal
Date: Thu, 03 Jun 2010 13:14:40 +0100	[thread overview]
Message-ID: <1275567280.3593.81.camel@odin> (raw)
In-Reply-To: <4C068CE3.8060107@gmail.com>

On Thu, 2010-06-03 at 00:54 +0800, Wan ZongShun wrote:
> The variable 'state' of structure 's3c_ac97_info' seems no use here,
> so this patch is to remove the unnecessary variable.
> 
> Signed-off-by: Wan ZongShun <mcuos.com@gmail.com>
> ---
>  sound/soc/s3c24xx/s3c-ac97.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/s3c24xx/s3c-ac97.c b/sound/soc/s3c24xx/s3c-ac97.c
> index ecf4fd0..31f6d45 100644
> --- a/sound/soc/s3c24xx/s3c-ac97.c
> +++ b/sound/soc/s3c24xx/s3c-ac97.c
> @@ -31,7 +31,6 @@
>  #define AC_CMD_DATA(x) (x & 0xffff)
> 
>  struct s3c_ac97_info {
> -	unsigned           state;
>  	struct clk         *ac97_clk;
>  	void __iomem	   *regs;
>  	struct mutex       lock;


Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

       reply	other threads:[~2010-06-03 12:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4C068CE3.8060107@gmail.com>
2010-06-03 12:14 ` Liam Girdwood [this message]
2010-06-03 16:53 ` [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal Mark Brown

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=1275567280.3593.81.camel@odin \
    --to=lrg@slimlogic.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=ben-linux@fluff.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=jassi.brar@samsung.com \
    --cc=mcuos.com@gmail.com \
    /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).