From patchwork Mon Sep 29 12:42:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4995941 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4EAD99F1D4 for ; Mon, 29 Sep 2014 12:43:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8759C20254 for ; Mon, 29 Sep 2014 12:43:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B2EA720173 for ; Mon, 29 Sep 2014 12:43:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753818AbaI2Mmf (ORCPT ); Mon, 29 Sep 2014 08:42:35 -0400 Received: from mailout4.w1.samsung.com ([210.118.77.14]:50350 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752587AbaI2Mmd (ORCPT ); Mon, 29 Sep 2014 08:42:33 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NCN00L5EY3IIO60@mailout4.w1.samsung.com>; Mon, 29 Sep 2014 13:45:18 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-13-542953b68897 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 84.B2.25543.6B359245; Mon, 29 Sep 2014 13:42:30 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NCN00BL6XYPL940@eusync2.samsung.com>; Mon, 29 Sep 2014 13:42:30 +0100 (BST) From: Krzysztof Kozlowski To: Vinod Koul , Dan Williams , Lars-Peter Clausen , Michal Simek , Dan Carpenter , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski Subject: [RESEND PATCH v2 2/4] dmaengine: pl330: Remove unused 'regs' variable in pl330_submit_req() Date: Mon, 29 Sep 2014 14:42:19 +0200 Message-id: <1411994541-31494-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1411994541-31494-1-git-send-email-k.kozlowski@samsung.com> References: <1411994541-31494-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e/4Fd1twZohBs+eWlpsnLGe1eL1v+ks FtOnXmC0WD31L5D7wtDibNMbdoslk+ezWlzeNYfNYu2Ru+wW715GWLzs28/iwO2xeM9LJo8l bw6xenx8eovFo2/LKkaPz5vkPPZ+/s0SwBbFZZOSmpNZllqkb5fAldG2dTZjwTm2ineN+5ga GNewdjFyckgImEjMWnidCcIWk7hwbz1bFyMXh5DAUkaJc2vnMIMkhAT6mCRWHs0HsdkEjCU2 L18CViQi0Mok8WLmJxYQh1ngKKPE9N63YKOEBdIkulb1sYHYLAKqEs8XvGEEsXkF3CUe9XVB rZOTOHlsMtgZnAIeEucnv2OE2OYu8Wt5B/MERt4FjAyrGEVTS5MLipPScw31ihNzi0vz0vWS 83M3MULC8MsOxsXHrA4xCnAwKvHwcqzQCBFiTSwrrsw9xCjBwawkwmtnqxkixJuSWFmVWpQf X1Sak1p8iJGJg1OqgdHF6XGweByfkOWpBSFFXAqOu2fUJszMmvfyMWfy7LQN9i3GM/fmLvtW 9GH9nTVcfHsn9mXrHhT96JCwduNep5XqRqu7ShZt4L7S5yx3qJIh4lX6+sTOyuyS7spC/omi NTd5c0NvXldLTd+g2Rabcdft/oPo6xv2hTe5pF9mbP6ze0oxx+sjp5VYijMSDbWYi4oTASL7 qaQhAgAA Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The 'void __iomem *regs' is not used in pl330_submit_req() function. Remove it. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: ================= 1. New patch. --- drivers/dma/pl330.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 57049f84d0c0..28e3775888a6 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -1367,13 +1367,10 @@ static int pl330_submit_req(struct pl330_thread *thrd, struct pl330_dmac *pl330 = thrd->dmac; struct _xfer_spec xs; unsigned long flags; - void __iomem *regs; unsigned idx; u32 ccr; int ret = 0; - regs = thrd->dmac->base; - if (pl330->state == DYING || pl330->dmac_tbd.reset_chan & (1 << thrd->id)) { dev_info(thrd->dmac->ddma.dev, "%s:%d\n",