Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1098409pxf; Thu, 8 Apr 2021 23:10:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxufs26rTLpsQWq5riycuxVYzfnwX3ljpvpUC1EviOqHM9xa/wa20Lf49OvhwkMeln4pNWn X-Received: by 2002:a17:90a:6906:: with SMTP id r6mr12291347pjj.235.1617948639023; Thu, 08 Apr 2021 23:10:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617948639; cv=none; d=google.com; s=arc-20160816; b=uezW6dnLpEswkVgKALaQ5sN2t0YFB3YqnnQ4bb6XAgPZSLuzbI+QcMIgroUzDsQOSZ qIUFWoWFlhyT7kZUPNUik+ONwcjXpT/RUl2pMxk+/0LJ7/RwFyDkgKAmCvfM/xl4AbrY NIxCfjSD3NzOI+a3tkXe1EKtyPKTJEEjJSB4YlI9n+ch+9BUsoYeVvNawxagV/C7V8Ku JiCMBKnP3F0/RM9sf38uqZ37J7oAbjY46vtn8rMEVsMl+F5ugufJ1DA0NmnOJSN+bcrj +TTF7BeTMO/Le+/xT+xU8NHaApGEYchPD4Y+GprtzDvW+i7Gheoy16ORFRTqJUIrFvth flwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=CHeCE+E8jHFgL6XVidvSL1mOS+mHayM6V4fdvsyzTpY=; b=w+lPaFUr77DfG6ci1zLWxIM0dW350VrrVbSokJD+Tg7pA5Kabb4tbAmlydS2nYYmkI PdQJYvucVJ4z02BXa+3Oj0nzNQyA/Zw2bXJuqjFsvOfOiulqucBrWcBbdg7TgDe/cHjw HF0Vbzrrs6xhLcEhKiC5MN19NwGzHPV78Rb6ET02XfZd1NOw1QENtIf2FVgQDveEKqz+ 966T5Zz33GVMUuF6GbA0ApAVE9NL/579pJtGd5cldgbRXUT4aM0BDQcl3kv1SFr59BYl PB+LYaYhz8sloKE3rZvcvBSIKQNYu07/eRMmvelU96xjHiEFKCso/9in9V4WkEv5/Ap9 bztw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j6si1820956pgq.283.2021.04.08.23.10.27; Thu, 08 Apr 2021 23:10:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233311AbhDIGIs (ORCPT + 99 others); Fri, 9 Apr 2021 02:08:48 -0400 Received: from out30-132.freemail.mail.aliyun.com ([115.124.30.132]:50476 "EHLO out30-132.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231280AbhDIGIr (ORCPT ); Fri, 9 Apr 2021 02:08:47 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R931e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04426;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0UUyCm9A_1617948507; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0UUyCm9A_1617948507) by smtp.aliyun-inc.com(127.0.0.1); Fri, 09 Apr 2021 14:08:33 +0800 From: Jiapeng Chong To: cezary.rojewski@intel.com Cc: pierre-louis.bossart@linux.intel.com, liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Jiapeng Chong Subject: [PATCH] ASoC: Intel: bytcr_wm5102: remove useless variable Date: Fri, 9 Apr 2021 14:08:26 +0800 Message-Id: <1617948506-84638-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following gcc warning: sound/soc/intel/boards/bytcr_wm5102.c:216:40: warning: ‘byt_wm5102_dai_params’ defined but not used. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- sound/soc/intel/boards/bytcr_wm5102.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sound/soc/intel/boards/bytcr_wm5102.c b/sound/soc/intel/boards/bytcr_wm5102.c index f38850e..fd584e3 100644 --- a/sound/soc/intel/boards/bytcr_wm5102.c +++ b/sound/soc/intel/boards/bytcr_wm5102.c @@ -213,14 +213,6 @@ static int byt_wm5102_init(struct snd_soc_pcm_runtime *runtime) return 0; } -static const struct snd_soc_pcm_stream byt_wm5102_dai_params = { - .formats = SNDRV_PCM_FMTBIT_S16_LE, - .rate_min = 48000, - .rate_max = 48000, - .channels_min = 2, - .channels_max = 2, -}; - static int byt_wm5102_codec_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) { -- 1.8.3.1