From patchwork Tue Jul 1 11:32:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4458311 X-Patchwork-Delegate: tiwai@suse.de 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 901CCBEEAA for ; Tue, 1 Jul 2014 11:38:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2CBE4203F4 for ; Tue, 1 Jul 2014 11:38:49 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 7261F203EB for ; Tue, 1 Jul 2014 11:38:47 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7CCA726577E; Tue, 1 Jul 2014 13:38:46 +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=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 5F5E92650BE; Tue, 1 Jul 2014 13:36:53 +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 98090261B0A; Tue, 1 Jul 2014 13:36:49 +0200 (CEST) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by alsa0.perex.cz (Postfix) with ESMTP id 1FDEE261B08 for ; Tue, 1 Jul 2014 13:36:36 +0200 (CEST) Received: by mail-pa0-f53.google.com with SMTP id ey11so10432956pad.12 for ; Tue, 01 Jul 2014 04:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=lBq1VfkmODshoVa52NAR0LjLhn6xMWtfq6qAYhS9pNU=; b=EOpsT2b/fXFWarT3AHOIxXPm0uy4P98H4Kdk6LRZMLbGX7LGZLg0v4rFdxeei59pD2 6yqVVaUG3cObYNfFFIfEbUHPGJDwFDFo/c0gwK1tunSD5BVp/FCqgW6611Cy62Z1wpLm SgzyxJxqHde4zNhxT3BVmmA8cxh8CwzWwVIoMSWZn3f31e/APnJVzBt2C2Gj8bAhGD22 mUVtoRKONn4ctJ1nbt18sJU0TSl/YkC2ID3sidUAzHZjauSrz0yJbogpHg7FSJbKkf/d 2262kQtH+z8aXtilKmyXeINd//13EnjCmYMgucgo49Va9CigAjBOIgnd3NeBSxSGCwu9 R5wA== X-Received: by 10.68.240.5 with SMTP id vw5mr59792360pbc.113.1404214595871; Tue, 01 Jul 2014 04:36:35 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id be7sm115269157pad.9.2014.07.01.04.36.32 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 04:36:34 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Date: Tue, 1 Jul 2014 17:02:56 +0530 Message-Id: <1404214378-24669-3-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404214378-24669-1-git-send-email-sachin.kamat@samsung.com> References: <1404214378-24669-1-git-send-email-sachin.kamat@samsung.com> Cc: tiwai@suse.de, spk.linux@gmail.com Subject: [alsa-devel] [PATCH 3/5] ALSA: revo: 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 'err' is not used in the function. Remove it. Signed-off-by: Sachin Kamat --- sound/pci/ice1712/revo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index 1112ec1953be..0168aaa5f58c 100644 --- a/sound/pci/ice1712/revo.c +++ b/sound/pci/ice1712/revo.c @@ -481,7 +481,6 @@ static int ap192_ak4114_init(struct snd_ice1712 *ice) static const unsigned char ak4114_init_txcsb[] = { 0x41, 0x02, 0x2c, 0x00, 0x00 }; - int err; struct revo51_spec *spec; spec = kzalloc(sizeof(*spec), GFP_KERNEL); @@ -489,7 +488,7 @@ static int ap192_ak4114_init(struct snd_ice1712 *ice) return -ENOMEM; ice->spec = spec; - err = snd_ak4114_create(ice->card, + snd_ak4114_create(ice->card, ap192_ak4114_read, ap192_ak4114_write, ak4114_init_vals, ak4114_init_txcsb,