From patchwork Thu Jun 26 06:47:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4425951 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 4DC25BEEAA for ; Thu, 26 Jun 2014 06:51:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 851A820395 for ; Thu, 26 Jun 2014 06:51:11 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5141C20394 for ; Thu, 26 Jun 2014 06:51:10 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 7C7CA264F2D; Thu, 26 Jun 2014 08:51:08 +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 6E2DD264ED5; Thu, 26 Jun 2014 08:50:57 +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 A18B8264EE5; Thu, 26 Jun 2014 08:50:55 +0200 (CEST) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by alsa0.perex.cz (Postfix) with ESMTP id 681F7262632 for ; Thu, 26 Jun 2014 08:50:47 +0200 (CEST) Received: by mail-pd0-f173.google.com with SMTP id r10so2659428pdi.4 for ; Wed, 25 Jun 2014 23:50:46 -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:mime-version:content-type :content-transfer-encoding; bh=4YyB/JR3zPmZjs9oRR3/TPLXWc+BpQpRq/8mRwaE2Bo=; b=eelKsXL8XxDQx+e5ng6O05G3aPqdH1/vmMdpnqdZAP+Ys5zCnNqqijB7isc7jJm6VO juIB0RpnXHwy7+jpIjGid8sblxpZSgs63trh96JMrSd5pTSN/yReGiAkRRCgC9pTwWeb bKL9XOPQV3oEGSK/See62xgzQcr8Hjr2G4s4P/FMU7o2vE2Eo1Xw0+PchjOYQFGAR6/K NNiVAFSBNOkT4mB5rG+0vVse0XHdovL506bJ+xo4ItOWZ+hTT4IDG7lBAhE9Vpb7I+DW wPAbY+moKJqgrdmDvPQtrlSug+Yt5xLxxGcTXmGOf8rxhRTCAf2V/qShAu0O+wVNA1MM UVOA== X-Received: by 10.69.10.164 with SMTP id eb4mr18582120pbd.35.1403765445614; Wed, 25 Jun 2014 23:50:45 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id g6sm30053381pat.2.2014.06.25.23.50.41 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 25 Jun 2014 23:50:44 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Date: Thu, 26 Jun 2014 12:17:24 +0530 Message-Id: <1403765244-20642-1-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Cc: sbkim73@samsung.com, trb.linux@gmail.com, broonie@kernel.org, spk.linux@gmail.com, lgirdwood@gmail.com Subject: [alsa-devel] [PATCH 1/1] ASoC: samsung: Remove unused variable from idma.c 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 ‘iiscon’ is not used in the function. Remove it. Signed-off-by: Sachin Kamat --- sound/soc/samsung/idma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c index 8cc5770abb39..db6cefa18017 100644 --- a/sound/soc/samsung/idma.c +++ b/sound/soc/samsung/idma.c @@ -261,10 +261,9 @@ static int idma_mmap(struct snd_pcm_substream *substream, static irqreturn_t iis_irq(int irqno, void *dev_id) { struct idma_ctrl *prtd = (struct idma_ctrl *)dev_id; - u32 iiscon, iisahb, val, addr; + u32 iisahb, val, addr; iisahb = readl(idma.regs + I2SAHB); - iiscon = readl(idma.regs + I2SCON); val = (iisahb & AHB_LVL0INT) ? AHB_CLRLVL0INT : 0;