From patchwork Tue Sep 1 06:50:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 7103451 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 161ACBEEC1 for ; Tue, 1 Sep 2015 06:50:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 43BCA203A4 for ; Tue, 1 Sep 2015 06:50:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 000E1204F6 for ; Tue, 1 Sep 2015 06:50:39 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id EA118261AA5; Tue, 1 Sep 2015 08:50:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 447F3261AA5; Tue, 1 Sep 2015 08:50:29 +0200 (CEST) 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 BEAA5261AE4; Tue, 1 Sep 2015 08:50:27 +0200 (CEST) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) by alsa0.perex.cz (Postfix) with ESMTP id 6578A261AA1 for ; Tue, 1 Sep 2015 08:50:20 +0200 (CEST) Received: by pacgr6 with SMTP id gr6so15466284pac.3 for ; Mon, 31 Aug 2015 23:50:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:content-type :mime-version:content-transfer-encoding; bh=h9kkc9UUkjpgEGiM5kZ1DsZEi6nmsWJLT3h3jEiE6tw=; b=WIIAxc2T3nu7ChYnAMavVjOnjmBKqgaaaQ+5/8uFS2WUY2w6RdUVb0tDpO2Mse8uQ2 WDWnKZhR+Oz0cNZo0XzVHxfYa1WPa/Gn2itMH7d6ZON4CutHT/8JC3Sk88SlaRYbtHH9 GOuUSisNQb+pXUl+3h6kGBOU+LzjUsqP6qMZx/SamtJB7X61AtwlaVG09133h6SFQ7KC 32ogemrojlDs3HvuoZBK3gD098+qlluRijHJUezK3cPUHGH2zb9FMfmd1fxgn/skBwDU AhsT1Ue27w0dpDQQBjBD6u9xUEWQqi21aT0PNKqm8mghaoEpVssrz46ApVCA9H60DAXU OT8A== X-Gm-Message-State: ALoCoQlFvQ61y5JyxlWufdkfg4dGcZoO4Trlh82Wdjsf/Nt0rcBMSYIYx8sM2uGnkj4PwyGaitKt X-Received: by 10.66.140.70 with SMTP id re6mr45011981pab.31.1441090219939; Mon, 31 Aug 2015 23:50:19 -0700 (PDT) Received: from phoenix.local (118-171-143-110.dynamic.hinet.net. [118.171.143.110]) by smtp.gmail.com with ESMTPSA id m4sm16815578pda.90.2015.08.31.23.50.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Aug 2015 23:50:19 -0700 (PDT) Message-ID: <1441090215.22437.0.camel@ingics.com> From: Axel Lin To: Mark Brown Date: Tue, 01 Sep 2015 14:50:15 +0800 X-Mailer: Evolution 3.12.10-0ubuntu1~14.10.1 Mime-Version: 1.0 Cc: Manuel Lauss , alsa-devel@alsa-project.org, Liam Girdwood Subject: [alsa-devel] [PATCH] ASoC: au1x: psc-i2s: Fix unused variable 'ret' warning 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Fix below build warning: sound/soc/au1x/psc-i2s.c: In function 'au1xpsc_i2s_drvprobe': sound/soc/au1x/psc-i2s.c:299:6: warning: unused variable 'ret' [-Wunused-variable] Reported-by: kbuild test robot Signed-off-by: Axel Lin Acked-by: Manuel Lauss --- sound/soc/au1x/psc-i2s.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/au1x/psc-i2s.c b/sound/soc/au1x/psc-i2s.c index 38e853a..0bf9d62 100644 --- a/sound/soc/au1x/psc-i2s.c +++ b/sound/soc/au1x/psc-i2s.c @@ -296,7 +296,6 @@ static int au1xpsc_i2s_drvprobe(struct platform_device *pdev) { struct resource *iores, *dmares; unsigned long sel; - int ret; struct au1xpsc_audio_data *wd; wd = devm_kzalloc(&pdev->dev, sizeof(struct au1xpsc_audio_data),