* [PATCH] ASoC: tegra: Remove superfluous 'machine' variable
@ 2017-08-23 13:46 Arnd Bergmann
2017-08-23 14:21 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2017-08-23 13:46 UTC (permalink / raw)
To: Liam Girdwood, Takashi Iwai
Cc: Arnd Bergmann, Mark Brown, Jaroslav Kysela, Thierry Reding,
Jonathan Hunter, alsa-devel, linux-tegra, linux-kernel
The last cleanup left behind an unused variable:
sound/soc/tegra/tegra_wm8903.c: In function 'tegra_wm8903_remove':
sound/soc/tegra/tegra_wm8903.c:206:23: error: unused variable 'machine' [-Werror=unused-variable]
This removes it as welremoves it as welll
Fixes: 2a8bd83af30e ("ASoC: tegra: Remove superfluous snd_soc_jack_free_gpios() call")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
sound/soc/tegra/tegra_wm8903.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index 2384cb9cb95c..18bdae59a4df 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -203,7 +203,6 @@ static int tegra_wm8903_remove(struct snd_soc_card *card)
snd_soc_get_pcm_runtime(card, card->dai_link[0].name);
struct snd_soc_dai *codec_dai = rtd->codec_dai;
struct snd_soc_codec *codec = codec_dai->codec;
- struct tegra_wm8903 *machine = snd_soc_card_get_drvdata(card);
wm8903_mic_detect(codec, NULL, 0, 0);
--
2.9.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: tegra: Remove superfluous 'machine' variable
2017-08-23 13:46 [PATCH] ASoC: tegra: Remove superfluous 'machine' variable Arnd Bergmann
@ 2017-08-23 14:21 ` Mark Brown
2017-08-23 14:28 ` Arnd Bergmann
0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2017-08-23 14:21 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Liam Girdwood, Takashi Iwai, Jaroslav Kysela, Thierry Reding,
Jonathan Hunter, alsa-devel, linux-tegra, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
On Wed, Aug 23, 2017 at 03:46:30PM +0200, Arnd Bergmann wrote:
> The last cleanup left behind an unused variable:
This doesn't apply against current code, please check and resend.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: tegra: Remove superfluous 'machine' variable
2017-08-23 14:21 ` Mark Brown
@ 2017-08-23 14:28 ` Arnd Bergmann
0 siblings, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2017-08-23 14:28 UTC (permalink / raw)
To: Mark Brown
Cc: Liam Girdwood, Takashi Iwai, Jaroslav Kysela, Thierry Reding,
Jonathan Hunter, alsa-devel,
open list:TEGRA ARCHITECTURE SUPPORT, Linux Kernel Mailing List
On Wed, Aug 23, 2017 at 4:21 PM, Mark Brown <broonie@kernel.org> wrote:
> On Wed, Aug 23, 2017 at 03:46:30PM +0200, Arnd Bergmann wrote:
>> The last cleanup left behind an unused variable:
>
> This doesn't apply against current code, please check and resend.
I built against today's linux-next, but you already applied the same fix this
morning after Stephen reported the problem.
Arnd
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-23 14:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-23 13:46 [PATCH] ASoC: tegra: Remove superfluous 'machine' variable Arnd Bergmann
2017-08-23 14:21 ` Mark Brown
2017-08-23 14:28 ` Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®