Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4534979ybb; Tue, 24 Mar 2020 00:07:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtmj2wA+IwdvGr1TSc2Jh7yDcKhmN8egCOqxsatUez8ysgBUXsEz4rcaxdWJs4Cu/dblV5Y X-Received: by 2002:a9d:3b5:: with SMTP id f50mr3944864otf.31.1585033645054; Tue, 24 Mar 2020 00:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585033645; cv=none; d=google.com; s=arc-20160816; b=wv6z9mfyaPVin3pNN948tj+2K75XAKuGDoZhtVeTGl8bhrl6/S2Krs06DgTQ00QF1C Cs6Npct0z+e9QD6MmarIPW5Z9EAmsN+TVWzm1q4LmxMKb2ZQ+FHTSgl4vkISHUqPDhtc 5Ykvpi4COH4n8ygfsLVFw8vsxDeSWDryKqGKQCddMbZIBxFVsdJFyvRlRmgPh3SnDaVP 8oR4bmYlRDjKjqDqEMyG5WpR9sCUt6LmNDkMLsT6WF57FLGCtCn/GCsfq62+9J3kwfND EQ0P7kBFZW+2afrFRLSw/lYdgyFcxYBL/8TCrjTHULTL3qGgbH36rVWYqoQ5UFNMOsbw qeEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=tBXcIxbKC6ev4C9AxEZ+UWu0LpnYD0sDnZBRcMbXHh8=; b=LT8xzKLRzqaULyZzSoD6S7Yoe2M4N4g7IgyFMqgAKg4e3uU1drqs2n1IIY1YyNplkD k9KKH0mEso2qMhHa0ypy3U81CvMkNeNBxoxgVkNqEbW2u0jv+cZx7Fac3vfH3sTgh8f7 /ek2YZ/41fNBln7hms9kk8oytxU2z6wTx9lrOTa4Q93oJl2NShwgVqEIov4w8I8+XMxF b43kzx48mSzJ02AfRgISnzsHGX4dCBWBhJJ+zdQc2oPqy8iCCC6rjdPa3YXeO3rCtPBl sp8cgNS/xNsiVdKcx0ptIK/m9SmZt7rpjSRnn/M55otc645FGUWv8hs1yxTA2xhNcpG2 zOPw== 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 l9si3018069otf.51.2020.03.24.00.07.11; Tue, 24 Mar 2020 00:07:25 -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 S1727414AbgCXHGh (ORCPT + 99 others); Tue, 24 Mar 2020 03:06:37 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:35702 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725869AbgCXHGg (ORCPT ); Tue, 24 Mar 2020 03:06:36 -0400 Received: from DGGEMS407-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id D92459E50D0323D487EF; Tue, 24 Mar 2020 15:06:29 +0800 (CST) Received: from localhost (10.173.223.234) by DGGEMS407-HUB.china.huawei.com (10.3.19.207) with Microsoft SMTP Server id 14.3.487.0; Tue, 24 Mar 2020 15:06:19 +0800 From: YueHaibing To: , , , CC: , , , YueHaibing Subject: [PATCH -next] ASoC: wm8974: remove unused variables Date: Tue, 24 Mar 2020 15:06:15 +0800 Message-ID: <20200324070615.16248-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.173.223.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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.17.1