* Re: [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal
[not found] <4C068CE3.8060107@gmail.com>
@ 2010-06-03 12:14 ` Liam Girdwood
2010-06-03 16:53 ` Mark Brown
1 sibling, 0 replies; 2+ messages in thread
From: Liam Girdwood @ 2010-06-03 12:14 UTC (permalink / raw)
To: Wan ZongShun; +Cc: alsa-devel, Mark Brown, jassi.brar, Ben Dooks
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal
[not found] <4C068CE3.8060107@gmail.com>
2010-06-03 12:14 ` [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal Liam Girdwood
@ 2010-06-03 16:53 ` Mark Brown
1 sibling, 0 replies; 2+ messages in thread
From: Mark Brown @ 2010-06-03 16:53 UTC (permalink / raw)
To: Wan ZongShun; +Cc: alsa-devel, jassi.brar, Ben Dooks, Liam Girdwood
On Thu, Jun 03, 2010 at 12:54:59AM +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>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-03 16:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <4C068CE3.8060107@gmail.com>
2010-06-03 12:14 ` [PATCH] AsoC/s3c: patch for the unnecessary variable 'state' removal Liam Girdwood
2010-06-03 16:53 ` Mark Brown
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).