* [PATCH] ASoC: rt5645: remove unused variable
@ 2015-07-17 7:23 Sudip Mukherjee
2015-07-17 8:07 ` [alsa-devel] " Nicolas Boichat
0 siblings, 1 reply; 2+ messages in thread
From: Sudip Mukherjee @ 2015-07-17 7:23 UTC (permalink / raw)
To: Bard Liao, Oder Chiou, Liam Girdwood, Mark Brown,
Jaroslav Kysela, Takashi Iwai
Cc: linux-kernel, alsa-devel, Sudip Mukherjee
We were getting a build warning about unused variable. This variable was
a leftover from:
a4e3c5fa955c ("ASoC: rt5645: Simplify rt5645_enable_push_button_irq")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
sound/soc/codecs/rt5645.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index d24c979..ff091d6 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -2763,7 +2763,6 @@ static void rt5645_enable_push_button_irq(struct snd_soc_codec *codec,
bool enable)
{
struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
- struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec);
if (enable) {
snd_soc_dapm_force_enable_pin(dapm, "ADC L power");
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [alsa-devel] [PATCH] ASoC: rt5645: remove unused variable
2015-07-17 7:23 [PATCH] ASoC: rt5645: remove unused variable Sudip Mukherjee
@ 2015-07-17 8:07 ` Nicolas Boichat
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Boichat @ 2015-07-17 8:07 UTC (permalink / raw)
To: Sudip Mukherjee
Cc: Bard Liao, Oder Chiou, Liam Girdwood, Mark Brown,
Jaroslav Kysela, Takashi Iwai, alsa-devel, linux-kernel
On Fri, Jul 17, 2015 at 3:23 PM, Sudip Mukherjee
<sudipm.mukherjee@gmail.com> wrote:
> We were getting a build warning about unused variable. This variable was
> a leftover from:
> a4e3c5fa955c ("ASoC: rt5645: Simplify rt5645_enable_push_button_irq")
Yes, I already sent a patch to fix it:
https://patchwork.kernel.org/patch/6812261/ .
Thanks.
> Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
> ---
> sound/soc/codecs/rt5645.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
> index d24c979..ff091d6 100644
> --- a/sound/soc/codecs/rt5645.c
> +++ b/sound/soc/codecs/rt5645.c
> @@ -2763,7 +2763,6 @@ static void rt5645_enable_push_button_irq(struct snd_soc_codec *codec,
> bool enable)
> {
> struct snd_soc_dapm_context *dapm = snd_soc_codec_get_dapm(codec);
> - struct rt5645_priv *rt5645 = snd_soc_codec_get_drvdata(codec);
>
> if (enable) {
> snd_soc_dapm_force_enable_pin(dapm, "ADC L power");
> --
> 1.8.1.2
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-17 8:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-17 7:23 [PATCH] ASoC: rt5645: remove unused variable Sudip Mukherjee
2015-07-17 8:07 ` [alsa-devel] " Nicolas Boichat
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®