Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755714AbbGQIHk (ORCPT ); Fri, 17 Jul 2015 04:07:40 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:33353 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750863AbbGQIHh (ORCPT ); Fri, 17 Jul 2015 04:07:37 -0400 MIME-Version: 1.0 In-Reply-To: <1437117818-25972-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1437117818-25972-1-git-send-email-sudipm.mukherjee@gmail.com> Date: Fri, 17 Jul 2015 16:07:36 +0800 Message-ID: Subject: Re: [alsa-devel] [PATCH] ASoC: rt5645: remove unused variable From: Nicolas Boichat To: Sudip Mukherjee Cc: Bard Liao , Oder Chiou , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1448 Lines: 40 On Fri, Jul 17, 2015 at 3:23 PM, Sudip Mukherjee 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 > --- > 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/