From patchwork Thu Dec 6 14:52:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hui Wang X-Patchwork-Id: 10716113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4520E1731 for ; Thu, 6 Dec 2018 14:53:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33C662EBBE for ; Thu, 6 Dec 2018 14:53:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 326312EC20; Thu, 6 Dec 2018 14:53:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C28F2EC09 for ; Thu, 6 Dec 2018 14:52:57 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 7F5AC267C96; Thu, 6 Dec 2018 15:52:45 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id C9962267C8A; Thu, 6 Dec 2018 15:52:40 +0100 (CET) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) by alsa0.perex.cz (Postfix) with ESMTP id CB59B267C88 for ; Thu, 6 Dec 2018 15:52:37 +0100 (CET) Received: from [114.246.252.206] (helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gUv12-00035w-Lh; Thu, 06 Dec 2018 14:52:37 +0000 From: Hui Wang To: alsa-devel@alsa-project.org, broonie@kernel.org, tiwai@suse.de, pierre-louis.bossart@linux.intel.com, naveen.m@intel.com Date: Thu, 6 Dec 2018 22:52:07 +0800 Message-Id: <20181206145207.4477-3-hui.wang@canonical.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181206145207.4477-1-hui.wang@canonical.com> References: <20181206145207.4477-1-hui.wang@canonical.com> Subject: [alsa-devel] [PATCH 3/3] ASoC: Intel: kbl_da7219_max98357a_rt5660: cleanup of some unused code X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The code here deleted is not used in the driver. Signed-off-by: Hui Wang --- .../soc/intel/boards/kbl_da7219_max98357a_rt5660.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c b/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c index 6ac8163d4c35..cbfe66a9d7c7 100644 --- a/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c +++ b/sound/soc/intel/boards/kbl_da7219_max98357a_rt5660.c @@ -502,19 +502,6 @@ static struct snd_soc_ops kabylake_dmic_ops = { .startup = kabylake_dmic_startup, }; -static const unsigned int rates_16000[] = { - 16000, -}; - -static const struct snd_pcm_hw_constraint_list constraints_16000 = { - .count = ARRAY_SIZE(rates_16000), - .list = rates_16000, -}; - -static const unsigned int ch_mono[] = { - 1, -}; - /* kabylake digital audio interface glue - connects codec <--> CPU */ static struct snd_soc_dai_link kabylake_dais[] = { /* Front End DAI links */