ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable
Subsystems (4)
Fabio Estevam
reviewerPATCH 1/1 ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable
From: Fabio Estevam <[email protected]>
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.
--- sound/soc/fsl/imx-pcm-fiq.c | 1 - 1 file changed, 1 deletion(-)
sound/soc/fsl/imx-pcm-fiq.c +0 -1
@@ -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))
Signature · 1 line
1.8.1.2
Quoted 6 lines · Fabio Estevam
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.
Quoted 1 line · Oskar Schirmer
Acked-by Oskar Schirmer <[email protected]>
Applied, thanks.
Quoted 4 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Commit
68f9672b(ASoC: fsl: imx-pcm-fiq: remove bogus period delta calculation) introduced the following build warning:
Applied, thanks.