From patchwork Tue Mar 8 08:05:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 8530391 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4F7FBC0553 for ; Tue, 8 Mar 2016 08:06:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 81562201D3 for ; Tue, 8 Mar 2016 08:06:09 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 79D38201BC for ; Tue, 8 Mar 2016 08:06:04 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id CDFD5265185; Tue, 8 Mar 2016 09:05:59 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id A9F282605D4; Tue, 8 Mar 2016 09:05:51 +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 C4F5B26066B; Tue, 8 Mar 2016 09:05:50 +0100 (CET) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by alsa0.perex.cz (Postfix) with ESMTP id 60DE72605D4 for ; Tue, 8 Mar 2016 09:05:43 +0100 (CET) Received: by mail-pa0-f50.google.com with SMTP id bj10so7397069pad.2 for ; Tue, 08 Mar 2016 00:05:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=9slilDwkFxz1C0RLyism0vnYbaTQWQ315AK5FhGR8MI=; b=N34EEIK0zpF7ufIWqBb42OT9AHEKn/pcIZWKrbLOgYRJggZG92szfayFMjD1JXtXCP 9l3EjXxlauf8lmWvbIULTqLCEB4Mt+6D2s+x5HaHHvEXcmZjazKBFPglud9gjW5eI88I iO4uVaRkR9vJQwmvctYqnc3HSkot0TYG9qKtlOqIfj9r472igi1xJgCK5QMdC8HwkFBC KaOPj7AF//50oNaZKk5EVjd5VLdzOnmI+TnyXtSWYL8nzmZxNvxCsSSnzt8mVG1uO8Ln s49wgrlAM/LtRFWYyTyIVFWIK5V09bCaZfdECbLxCJ96CT0SwbuOPcd5U14oKZGKk1e4 QvSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9slilDwkFxz1C0RLyism0vnYbaTQWQ315AK5FhGR8MI=; b=DUZ6JaIx+ERVP2QROuQUyyS8apGFISkp9qi0SRGxrU8RhkxSYR1ftkIrGI3/HGa4j7 +9/hSRjtqYc78QTuHBDXXe1jpbckJ0gcGmuASQQSgQB4iIHqQ5G7MapEUR1UUhnRwcZ3 0KuFywrTnEcIc1TMduFg8s6uFb5Rxq2+/W/5JLl3giTYbqg4joSlGg2gzvIh9RjjPlsM qhT3GiIWIy27L7DKy8871io9kzQBD982kcSZKqceXIK2wUgE7KuIW5zCSVnl6aoFkkCs 8EVbI/hLN4SYwj/ReZzlZcIAQDpAdkIakWjOMypMZanU8DfdeP7KWXCIYcnV6etSpq42 qzRQ== X-Gm-Message-State: AD7BkJL6lR+4EwuyuYZUwO67r6AxoBzp+Ws3gTfDsVv8zg0a6AHGMJ5hz0v9wtxaXe0kbA== X-Received: by 10.67.12.175 with SMTP id er15mr39500997pad.70.1457424342097; Tue, 08 Mar 2016 00:05:42 -0800 (PST) Received: from sudip-pc.vectortproxy.org ([14.195.227.163]) by smtp.gmail.com with ESMTPSA id m87sm2714158pfj.38.2016.03.08.00.05.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Mar 2016 00:05:41 -0800 (PST) From: Sudip Mukherjee To: Bard Liao , Oder Chiou , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Date: Tue, 8 Mar 2016 13:35:31 +0530 Message-Id: <1457424331-15639-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, Sudip Mukherjee , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: rt5640: remove unused variable 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 From: Sudip Mukherjee We are getting build warning about: sound/soc/codecs/rt5640.c:1892:11: warning: unused variable 'dai_sel' The use of the variable was removed but the variable itself was not removed. Fixes: c467fc0e010b ("ASoC: rt5640: Set PLL src according to source") Signed-off-by: Sudip Mukherjee --- sound/soc/codecs/rt5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c index af9b5f1..e8b5ba0 100644 --- a/sound/soc/codecs/rt5640.c +++ b/sound/soc/codecs/rt5640.c @@ -1889,7 +1889,7 @@ static int rt5640_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, struct snd_soc_codec *codec = dai->codec; struct rt5640_priv *rt5640 = snd_soc_codec_get_drvdata(codec); struct rl6231_pll_code pll_code; - int ret, dai_sel; + int ret; if (source == rt5640->pll_src && freq_in == rt5640->pll_in && freq_out == rt5640->pll_out)