ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 8 Nov 2013 02:55:00 +0000 (00:55 -0200)
committerMark Brown <broonie@linaro.org>
Fri, 8 Nov 2013 10:21:05 +0000 (10:21 +0000)
Commit 68f9672b (ASoC: fsl: imx-pcm-fiq: remove bogus period delta calculation)
introduced the following build warning:

sound/soc/fsl/imx-pcm-fiq.c:53:26: warning: unused variable 'runtime' [-Wunused-variable]

Remove the unused 'runtime' variable.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Oskar Schirmer <oskar@scara.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/imx-pcm-fiq.c

index 94720a6dd7b637e36234ad7e46990a11a38c1360..10e330514ed8bfd1334410119d992c2c1a177d26 100644 (file)
@@ -50,7 +50,6 @@ static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt)
        struct imx_pcm_runtime_data *iprtd =
                container_of(hrt, struct imx_pcm_runtime_data, hrt);
        struct snd_pcm_substream *substream = iprtd->substream;
-       struct snd_pcm_runtime *runtime = substream->runtime;
        struct pt_regs regs;
 
        if (!atomic_read(&iprtd->running))