[alsa-devel] [PATCH 01/25] ASoC: WM8580: Remove useless assignment
From: Jassi Brar jassi.brar@samsung.com
The variable is not used anyway.
Signed-off-by: Jassi Brar jassi.brar@samsung.com --- sound/soc/codecs/wm8580.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c index ad5987e..a2e0ed5 100644 --- a/sound/soc/codecs/wm8580.c +++ b/sound/soc/codecs/wm8580.c @@ -548,11 +548,9 @@ static int wm8580_set_paif_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt) { struct snd_soc_codec *codec = codec_dai->codec; - struct wm8580_priv *wm8580 = snd_soc_codec_get_drvdata(codec); unsigned int aifa; unsigned int aifb; int can_invert_lrclk; - int sysclk;
aifa = snd_soc_read(codec, WM8580_PAIF1 + codec_dai->driver->id); aifb = snd_soc_read(codec, WM8580_PAIF3 + codec_dai->driver->id); @@ -621,8 +619,6 @@ static int wm8580_set_paif_dai_fmt(struct snd_soc_dai *codec_dai, return -EINVAL; }
- sysclk = wm8580->sysclk[codec_dai->driver->id]; - snd_soc_write(codec, WM8580_PAIF1 + codec_dai->driver->id, aifa); snd_soc_write(codec, WM8580_PAIF3 + codec_dai->driver->id, aifb);
On Tue, 2010-10-19 at 16:04 +0900, Jassi Brar wrote:
From: Jassi Brar jassi.brar@samsung.com
The variable is not used anyway.
Signed-off-by: Jassi Brar jassi.brar@samsung.com
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
On Tue, Oct 19, 2010 at 04:04:21PM +0900, Jassi Brar wrote:
From: Jassi Brar jassi.brar@samsung.com
The variable is not used anyway.
Signed-off-by: Jassi Brar jassi.brar@samsung.com
Applied, thanks. My network connection here is pretty appauling so I'm going to give up on reviewing this series for now but from the top level run through I gave it it all looks pretty good.
participants (3)
-
Jassi Brar
-
Liam Girdwood
-
Mark Brown