From patchwork Wed Aug 23 13:46:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 110837 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp4152702qge; Wed, 23 Aug 2017 06:47:42 -0700 (PDT) X-Received: by 10.84.210.202 with SMTP id a68mr3019719pli.387.1503496062377; Wed, 23 Aug 2017 06:47:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503496062; cv=none; d=google.com; s=arc-20160816; b=waqYcfDAqRNPHUtc2Rpx/GhWWVyRWbMKYrH1WX/qgKf3Bx+Mpef8CkXho1HGPq9ts+ AFFnvXi1icblgqeT7bCra6J5Pz064Ofh/xy/mvrpd7R506zPBn1XK+9W/wQNkvc9ddGw kZpHCVjvFOqtvIAaNNeK7tkDneLH6Vv6l4SrEvHeJpT63EenOaKQC8iEYwPCPfmApbko orqsrGj8BMsc17Fecpj+fe296njSttX56YtGztyDi6NuFaTpVvfCcnC/fyeEuNudhPe8 DJ8PTWjl/gcMxYbgkSZj5lVRiv95r6sviKZz3TNt+eFStZtbFaTR1KENyG6sBZySwPYa SEug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=GPKbcy/+DxuiS1YbMeXTVsbniRtC95XOUHP4OuRrrUI=; b=MhMxtx9DkLYHpb/L6LmCv9hVuAgUmc9g9UjI0yMjv2JIoX1zVPzwzrRvJqq2eQkMHU fElUcnC6pwhKHOoT/Au33Std8kFOOyT86YZ/w8N5bv0am03iM/KLENoPt5q7nzgby/7Z mVHOUhWWe4DdGIapdGM5uZrLQ4QMWMh3XO9nOs4yxE9gGuqprb/NbvN74rg4je64y6bG 88ppCuUXC+L0T7vBmP4s1arab2hIZxD0n8sPu/xkdEYYwo3SpurHH2kaIK+L0ma6WULl avrURu07FQzrzoLphvmPzqqfMIG4CWk8Zg8xp/97Q5aQ0SedY6f61bSB18eVR+ldc8qq R2Qw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p91si1162243plb.533.2017.08.23.06.47.41; Wed, 23 Aug 2017 06:47:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932083AbdHWNri (ORCPT + 26 others); Wed, 23 Aug 2017 09:47:38 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:49371 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754011AbdHWNrg (ORCPT ); Wed, 23 Aug 2017 09:47:36 -0400 Received: from wuerfel.lan ([95.208.190.237]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.129]) with ESMTPA (Nemesis) id 0LvNjj-1dbxA645C7-010ebN; Wed, 23 Aug 2017 15:47:18 +0200 From: Arnd Bergmann To: Liam Girdwood , Takashi Iwai Cc: Arnd Bergmann , Mark Brown , Jaroslav Kysela , Thierry Reding , Jonathan Hunter , alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: tegra: Remove superfluous 'machine' variable Date: Wed, 23 Aug 2017 15:46:30 +0200 Message-Id: <20170823134715.1088951-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:2SNuQRv1R8UriQIo6JlX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.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- sound/soc/tegra/tegra_wm8903.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 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);