Skip to contentSkip to conversation

ASoC: fsl: imx-pcm-fiq: Remove unused 'runtime' variable

PATCH Applied Fabio Estevam 3 participants 4 messages Nov 8, 2013

Subsystems (4)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 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
index 73cb07d..41740e4 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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.