From patchwork Mon Sep 8 08:42:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4860601 Return-Path: X-Original-To: patchwork-dmaengine@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 0371EC0338 for ; Mon, 8 Sep 2014 08:44:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E2D6F200F4 for ; Mon, 8 Sep 2014 08:44:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 719F720131 for ; Mon, 8 Sep 2014 08:44:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753341AbaIHInR (ORCPT ); Mon, 8 Sep 2014 04:43:17 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:32504 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752980AbaIHInN (ORCPT ); Mon, 8 Sep 2014 04:43:13 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBK007TZR0U5T20@mailout1.w1.samsung.com>; Mon, 08 Sep 2014 09:46:06 +0100 (BST) X-AuditID: cbfec7f4-b7f156d0000063c7-39-540d6c1fb1a6 Received: from eusync1.samsung.com ( [203.254.199.211]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id C1.A9.25543.F1C6D045; Mon, 08 Sep 2014 09:43:11 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NBK00IE5QVVTY90@eusync1.samsung.com>; Mon, 08 Sep 2014 09:43:11 +0100 (BST) From: Krzysztof Kozlowski To: Dan Williams , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lars-Peter Clausen , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski Subject: [PATCH v2 2/4] dmaengine: pl330: Remove unused 'regs' variable in pl330_submit_req() Date: Mon, 08 Sep 2014 10:42:48 +0200 Message-id: <1410165770-4452-2-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1410165770-4452-1-git-send-email-k.kozlowski@samsung.com> References: <1410165770-4452-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNJMWRmVeSWpSXmKPExsVy+t/xy7ryObwhBu+aeS02zljPajF96gVG i9VT/7JavH5haHG26Q27xZLJ81ktLu+aw2ax9shddouXfftZHDg9Fu95yeSx5M0hVo++LasY PT5vkgtgieKySUnNySxLLdK3S+DKaNs6m7HgHFvFu8Z9TA2Ma1i7GDk5JARMJM6samaHsMUk Ltxbz9bFyMUhJLCUUaKnewsThNPHJLH3534WkCo2AWOJzcuXgFWJCHQySnycfJIVxGEWeMso 8eHwZrBZwgLxEuvnbGDsYuTgYBFQlbjS4QAS5hVwk9g66zjUajmJk8cmg9mcAu4SbQ0rGEFs IaCai49PMk9g5F3AyLCKUTS1NLmgOCk911CvODG3uDQvXS85P3cTIyTAvuxgXHzM6hCjAAej Eg9vwlWeECHWxLLiytxDjBIczEoivAxhvCFCvCmJlVWpRfnxRaU5qcWHGJk4OKUaGJce8ixj 2BJ61eOQVa5skEwVa4zohpVTFhacdJqaMPvB7MlRGx891Jz1oWFphI24/c4czrtSxrcdHzh+ TZn8vNXvZuNRa079bR3vPUVcmGeHSjpevF5uxL3pxmaxhLk3PObtXmEYOLHz6ZP7Z+S9ldam bfz6fcvNRQrLajlerd/IzatTWLYg+JMSS3FGoqEWc1FxIgCeMJfjDgIAAA== Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-9.4 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",