]> Git Repo - linux.git/commitdiff
ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable
authorFabio Estevam <[email protected]>
Fri, 8 Nov 2013 02:55:00 +0000 (00:55 -0200)
committerMark Brown <[email protected]>
Mon, 2 Dec 2013 11:13:19 +0000 (11:13 +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 <[email protected]>
Acked-by: Oskar Schirmer <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/fsl/imx-pcm-fiq.c

index f53b3261b171edd6f9ad17b4692a48da7860f709..f00b512dbada8fed724c94a3fb06e81e09cb93f5 100644 (file)
@@ -51,7 +51,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->playing) && !atomic_read(&iprtd->capturing))
This page took 0.057364 seconds and 4 git commands to generate.