Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1186521 > unrolled thread
| Started by | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| First post | 2015-07-17 09:30 +0200 |
| Last post | 2015-07-17 10:10 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] ASoC: rt5645: remove unused variable Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-07-17 09:30 +0200
Re: [alsa-devel] [PATCH] ASoC: rt5645: remove unused variable Nicolas Boichat <drinkcat@chromium.org> - 2015-07-17 10:10 +0200
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Date | 2015-07-17 09:30 +0200 |
| Subject | [PATCH] ASoC: rt5645: remove unused variable |
| Message-ID | <pN8fL-74a-3@gated-at.bofh.it> |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Nicolas Boichat <drinkcat@chromium.org> |
|---|---|
| Date | 2015-07-17 10:10 +0200 |
| Subject | Re: [alsa-devel] [PATCH] ASoC: rt5645: remove unused variable |
| Message-ID | <pN8Sv-82M-9@gated-at.bofh.it> |
| In reply to | #1186521 |
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web