Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp5064557ybb; Tue, 24 Mar 2020 10:17:54 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu8n/jqFuViwcsgcl2oT4IaFo5gRAG+7FBLZ0EofXCkFPlfbbm/XZvF0BjcCCXqBiL8cz9m X-Received: by 2002:aca:bc56:: with SMTP id m83mr4020683oif.11.1585070274110; Tue, 24 Mar 2020 10:17:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585070274; cv=none; d=google.com; s=arc-20160816; b=V8IAftHhP//j9JqXkbQy2HzbGZ1PvTigzoYd3OcVDNBFENys/HcJgMZEL7bNXu7hWQ v98aT7uhMVCComzAjKeMABFjfGXoY59jihZ9osiuL9ASxAYJiV1aO3SStnj1pscZeU/0 qNDtOOK86W7QO/tBytQhyjU4TV9VkNVjKdhw0RFYJniEQV83gSPMHZ2pb9C6KWdUjx5w 6Y8CXbCdmYnRyQtQNUuKY/5FpBc5AMximTK3JthP5+t07gsnip5mE+lkqufQKtPH8Utj NGWkPBLpv1+bzqUWCv/SheTUypAquEyJ5wP4Zm7BruBAMk9yePdH7NHhl0LYFeSilqL5 zKrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to:subject:cc:to:from :date; bh=P4xeoPioS8TNE9c8RP5Iv6UolSL/8pf7leszePFzQVo=; b=pw/rnafILIpzGT5e0tlOsP1fG3WjtprXRdWkeai9O1T+7G3ZsNblUIjYKswV2DnPkW im7IAcLs6hMTwIUU0T6IWHm1FCwU4NPwZr9dODvwTt95hDIpo/lHHmw9wLdJZlXeNa8k tq1REmhiXuIuEsm0iiWuv/J+uRzor/pY4fgz9CckyJaYtIZohY0bbY/enaZdH+rk/eSS beNMIKfzUkmQ+e1WvGVgN6OKJXtvFxBSlmFefvgExpeM2BXDEGIxZPwycyuzgb3xkQo6 UNUL4AKQutgpWAAc1LC7v2lArWM/M/2sMU0C+BFaWlYPnBHiuzdYD5ZeFDVFQ1Puo9nz cGyA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z29si868303oog.56.2020.03.24.10.17.38; Tue, 24 Mar 2020 10:17:54 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727732AbgCXRQg (ORCPT + 99 others); Tue, 24 Mar 2020 13:16:36 -0400 Received: from foss.arm.com ([217.140.110.172]:38544 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727383AbgCXRQf (ORCPT ); Tue, 24 Mar 2020 13:16:35 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7FFF21045; Tue, 24 Mar 2020 10:16:35 -0700 (PDT) Received: from localhost (unknown [10.37.6.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 04EF33F71F; Tue, 24 Mar 2020 10:16:34 -0700 (PDT) Date: Tue, 24 Mar 2020 17:16:33 +0000 From: Mark Brown To: YueHaibing Cc: alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Mark Brown , patches@opensource.cirrus.com, perex@perex.cz, tiwai@suse.com Subject: Applied "ASoC: wm8974: remove unused variables" to the asoc tree In-Reply-To: <20200324070615.16248-1-yuehaibing@huawei.com> Message-Id: X-Patchwork-Hint: ignore Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch ASoC: wm8974: remove unused variables has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 6b877cf8bc98e6c574a6d763943c4a92592e431c Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Tue, 24 Mar 2020 15:06:15 +0800 Subject: [PATCH] ASoC: wm8974: remove unused variables sound/soc/codecs/wm8974.c:200:38: warning: wm8974_aux_boost_controls defined but not used [-Wunused-const-variable=] sound/soc/codecs/wm8974.c:204:38: warning: wm8974_mic_boost_controls defined but not used [-Wunused-const-variable=] commit 8a123ee2a46d ("ASoC: WM8974 DAPM cleanups") left behind this, remove them. Signed-off-by: YueHaibing Link: https://lore.kernel.org/r/20200324070615.16248-1-yuehaibing@huawei.com Signed-off-by: Mark Brown --- sound/soc/codecs/wm8974.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c index dc4fe4f5239d..06ba36595ddd 100644 --- a/sound/soc/codecs/wm8974.c +++ b/sound/soc/codecs/wm8974.c @@ -196,14 +196,6 @@ SOC_DAPM_SINGLE("MicN Switch", WM8974_INPUT, 1, 1, 0), SOC_DAPM_SINGLE("MicP Switch", WM8974_INPUT, 0, 1, 0), }; -/* AUX Input boost vol */ -static const struct snd_kcontrol_new wm8974_aux_boost_controls = -SOC_DAPM_SINGLE("Aux Volume", WM8974_ADCBOOST, 0, 7, 0); - -/* Mic Input boost vol */ -static const struct snd_kcontrol_new wm8974_mic_boost_controls = -SOC_DAPM_SINGLE("Mic Volume", WM8974_ADCBOOST, 4, 7, 0); - static const struct snd_soc_dapm_widget wm8974_dapm_widgets[] = { SND_SOC_DAPM_MIXER("Speaker Mixer", WM8974_POWER3, 2, 0, &wm8974_speaker_mixer_controls[0], -- 2.20.1