From: Fabio Estevam Date: Fri, 8 Nov 2013 02:55:00 +0000 (-0200) Subject: ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable X-Git-Tag: upstream/snapshot3+hdmi~3891^2~33^2~52^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10227a94874435b038d5303ca05c1e158927084b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable 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 Acked-by: Oskar Schirmer Signed-off-by: Mark Brown --- diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c index 94720a6..10e3305 100644 --- a/sound/soc/fsl/imx-pcm-fiq.c +++ b/sound/soc/fsl/imx-pcm-fiq.c @@ -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))