diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-11-07 21:55:00 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-02 06:13:19 -0500 |
commit | 23d8bb3bb65e3587ceff54e1b54dda3c48a14f28 (patch) | |
tree | fc837c85d46777989fe404919cb0ec79e8f28a74 /sound | |
parent | d6437c14df89cb2df2bd9ef3692958d979b75d49 (diff) |
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 <fabio.estevam@freescale.com>
Acked-by: Oskar Schirmer <oskar@scara.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/imx-pcm-fiq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c index f53b3261b171..f00b512dbada 100644 --- a/sound/soc/fsl/imx-pcm-fiq.c +++ b/sound/soc/fsl/imx-pcm-fiq.c | |||
@@ -51,7 +51,6 @@ static enum hrtimer_restart snd_hrtimer_callback(struct hrtimer *hrt) | |||
51 | struct imx_pcm_runtime_data *iprtd = | 51 | struct imx_pcm_runtime_data *iprtd = |
52 | container_of(hrt, struct imx_pcm_runtime_data, hrt); | 52 | container_of(hrt, struct imx_pcm_runtime_data, hrt); |
53 | struct snd_pcm_substream *substream = iprtd->substream; | 53 | struct snd_pcm_substream *substream = iprtd->substream; |
54 | struct snd_pcm_runtime *runtime = substream->runtime; | ||
55 | struct pt_regs regs; | 54 | struct pt_regs regs; |
56 | 55 | ||
57 | if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) | 56 | if (!atomic_read(&iprtd->playing) && !atomic_read(&iprtd->capturing)) |