From patchwork Fri Jul 17 07:23:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6813501 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E03A79F2E8 for ; Fri, 17 Jul 2015 07:24:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2396320672 for ; Fri, 17 Jul 2015 07:24:12 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 83F3920663 for ; Fri, 17 Jul 2015 07:24:09 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id AC03E2606C7; Fri, 17 Jul 2015 09:24:07 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id A2AE2260695; Fri, 17 Jul 2015 09:23:59 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 782DE2606A5; Fri, 17 Jul 2015 09:23:58 +0200 (CEST) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by alsa0.perex.cz (Postfix) with ESMTP id 3C43826068A for ; Fri, 17 Jul 2015 09:23:51 +0200 (CEST) Received: by pactm7 with SMTP id tm7so56718268pac.2 for ; Fri, 17 Jul 2015 00:23:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=lDQaVzsfBZmoHwDNaockJRKKTD3tNFNyeio3Wa9viEM=; b=bTKWW65HjfFH1fSHYiqXNcCKashAEPKBfVZsF2fYYf7Twn/xCWWBNIG0VTkFnipiXb 0Qi4x9cz8OPJ5DtaQSqbk956BU2CDMHJ9TUbZmMoH63SWbNFNwq3bxXev4s4Iq2eskhN jrsgjTJcgeQZqZaCZQnq8xuk0uTox/2ggdX9RHPt0mBSk7BvlvjIV4EFqOTyAq6J56bs rUuIknp67a/AfjekKvrbozAVqyIWj0hov82cWphA5/ZMSV1Zu3yLBN2Nh3zMYMVkotdl BK9rlZAuJ5EOBNpntLClH5ag3Fq74kdUoe1wMGNuHHuBP1ZMTBpip5drYN62XvFW+FDB ZSLQ== X-Received: by 10.70.95.69 with SMTP id di5mr26607428pdb.80.1437117829791; Fri, 17 Jul 2015 00:23:49 -0700 (PDT) Received: from localhost.localdomain ([49.206.253.122]) by smtp.gmail.com with ESMTPSA id s15sm10131852pdi.68.2015.07.17.00.23.45 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jul 2015 00:23:49 -0700 (PDT) From: Sudip Mukherjee To: Bard Liao , Oder Chiou , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Fri, 17 Jul 2015 12:53:38 +0530 Message-Id: <1437117818-25972-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [alsa-devel] [PATCH] ASoC: rt5645: remove unused variable X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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");