Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1480268pxf; Fri, 9 Apr 2021 09:23:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxB/+V4G/Q5uT52yyOIw4R1lGn6jaBLejMZUJgJhVNthL0zadwV8GcCZWoOUZyFa/ii8eBw X-Received: by 2002:a17:90a:550f:: with SMTP id b15mr14815145pji.102.1617985414461; Fri, 09 Apr 2021 09:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617985414; cv=none; d=google.com; s=arc-20160816; b=LCdklCDtJxV5k5lhM9Iz5IWgRQpko8n5kwv0BNX9yP7bqNJG+D0oVDYIEpBVVsp85e oW2COqe0z6HxEuKG4tAi1ln6yA0AILYkULEXGso1EcZ26GZwrQieXKA871T4OtdKsQCM FThyRsdl5jlNu+INSVmrILcIsupH+bNPE7Q2suuH+eYny5XjW/1qnexQWo2PXVWjmGkn Y4Sq1EcRaYfNv1D+sx6gmqUA4e2Ot1sBAczJsZfk0pC1f9gT8z+rLxlzkfGKe2zsXGSh AqkASYUVcHzuKAL5h0sUoxEz7Z6IcK0v+fVA8q0IZKyuRDJylsNmbR4XiMmXJxVf+Zc8 sb8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=dMgS1mvzDfBSeBeEjKyjYgni1zZTNsdpCK3dboOqKJE=; b=a8EaL+iws0Sd/y7LrB7e6EA2sCh6WnnUYIQmNqEh3pPMEpkf/0ZTGl7+5Wx+ntjSzg yzz8VTpfhzxD+mnsswVqC9i7NtlmAOh0aTxo7SIGn/S750QvKpvKrn78xSPNI4BrmWyD S5caXwtShTzhKuxjt0MxZspuEl7vgWd9AXUH8vFLYtsSx7zV8usRgaApZ+IQy3CAKGrq 21DHXAWquPWVIi5P3lp2RnNrx4rMnwAsUDpIFi0wGd2N9v2/sku7MxADet98A/l+bVLf 5qNBGjwKqmYVqT2RA9p35a2XbZ8JnrTJwIYxeRVQGa6ABeLcl6vFX67gHF+vpq09tTVL oWSg== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w186si4326532pfw.241.2021.04.09.09.23.22; Fri, 09 Apr 2021 09:23:34 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233993AbhDIQW4 (ORCPT + 99 others); Fri, 9 Apr 2021 12:22:56 -0400 Received: from mga03.intel.com ([134.134.136.65]:50719 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232395AbhDIQWq (ORCPT ); Fri, 9 Apr 2021 12:22:46 -0400 IronPort-SDR: bc3yPWVyjWhkT6GfB1XhFLvZSIj70qUok42XmoAca9XvDmade0mLtP/SuI99x8fTigf6Y/OtsM fQKhZAYMAR8g== X-IronPort-AV: E=McAfee;i="6000,8403,9949"; a="193834951" X-IronPort-AV: E=Sophos;i="5.82,209,1613462400"; d="scan'208";a="193834951" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2021 09:22:32 -0700 IronPort-SDR: VaQNFTTlcncnSAeVCU4i7GQ4isH2oSsQWCJ8+4m2g35L4aaY6wP5VRPb3AEEXzkj49/rHGB66D F0UWNVjupBwA== X-IronPort-AV: E=Sophos;i="5.82,209,1613462400"; d="scan'208";a="380705479" Received: from ravikira-mobl1.amr.corp.intel.com (HELO [10.212.11.141]) ([10.212.11.141]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2021 09:22:31 -0700 Subject: Re: [PATCH] ASoC: Intel: bytcr_wm5102: remove useless variable To: Jiapeng Chong , cezary.rojewski@intel.com Cc: 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 References: <1617948506-84638-1-git-send-email-jiapeng.chong@linux.alibaba.com> From: Pierre-Louis Bossart Message-ID: Date: Fri, 9 Apr 2021 10:37:29 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <1617948506-84638-1-git-send-email-jiapeng.chong@linux.alibaba.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/9/21 1:08 AM, Jiapeng Chong wrote: > 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 Thanks for the patch. Acked-by: Pierre-Louis Bossart > --- > 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) > { >