summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorGary Zhang <b13634@freescale.com>2012-07-26 16:24:24 +0800
committerGary Zhang <b13634@freescale.com>2012-07-27 13:08:47 +0800
commit70ffc23a93bb9bdb007e32cb07b14283b48a0559 (patch)
treec8a082b3457807bd7fa75f96e0effe8351d9f826 /sound
parent2ad82a64022f161a125bda927afabba14080cfd9 (diff)
ENGR00218466 WM8962: remove unused variable
remove unused variable Signed-off-by: Gary Zhang <b13634@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/imx/imx-wm8962.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-wm8962.c b/sound/soc/imx/imx-wm8962.c
index 76299a659b41..de0dcd60a594 100644
--- a/sound/soc/imx/imx-wm8962.c
+++ b/sound/soc/imx/imx-wm8962.c
@@ -88,7 +88,6 @@ static int imx_hifi_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params)
{
struct snd_soc_pcm_runtime *rtd = substream->private_data;
- struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
struct snd_soc_dai *codec_dai = rtd->codec_dai;
struct imx_priv *priv = &card_priv;