From patchwork Tue Aug 28 11:43:50 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hiroshi Doyu X-Patchwork-Id: 11001 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7272023F27 for ; Tue, 28 Aug 2012 11:44:14 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id E5A94A18FBA for ; Tue, 28 Aug 2012 11:43:44 +0000 (UTC) Received: by iafj25 with SMTP id j25so7714218iaf.11 for ; Tue, 28 Aug 2012 04:44:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :x-pgp-universal:from:to:date:message-id:x-mailer:in-reply-to :references:mime-version:cc:subject:x-beenthere:x-mailman-version :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:content-type:content-transfer-encoding :sender:errors-to:x-gm-message-state; bh=BZ7LwF+bN2uBLMfDF6vQUVh0DfQVBeGcj90ZA5HN2DE=; b=a6Tuu67J6EbMdgUMZXzYnFrPD8MWuQGuMNDLe1OrYCQhi2JGFEkkjxKrdjdSaLd5Qp luDWF8w+FxMp3WHMgXGc3OuvOgQwzDrLikvWHj55dhvc1+g+JUz33IsWV12wIJiVrpkk My/qMI/rFTo7D4wqcKyMBmh7xjZbU78to7xqHFMtq8p+E3rqcxkbWZHSEVV7WNaFNSCq /5cmbAiKi8I8k7I7GKJ3QUzeL+TqnlX5La74mqlM7atJoSDF8PQGILRtBv/loT+nPCi6 Xi01fjzavKenhWxVJ3hJinYfJ4OAbIq2gDeZV1cPvjQR2jJB8Pd1AG5FMTxv/q7Vax5s 1DPg== Received: by 10.50.207.106 with SMTP id lv10mr13457480igc.0.1346154253470; Tue, 28 Aug 2012 04:44:13 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp21073igc; Tue, 28 Aug 2012 04:44:11 -0700 (PDT) Received: by 10.216.197.11 with SMTP id s11mr8245219wen.55.1346154251082; Tue, 28 Aug 2012 04:44:11 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id a27si28450397wej.112.2012.08.28.04.44.07; Tue, 28 Aug 2012 04:44:11 -0700 (PDT) Received-SPF: neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) client-ip=91.189.95.16; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) smtp.mail=linaro-mm-sig-bounces@lists.linaro.org Received: from localhost ([127.0.0.1] helo=mombin.canonical.com) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T6KDF-0006C5-FJ; Tue, 28 Aug 2012 11:44:05 +0000 Received: from hqemgate03.nvidia.com ([216.228.121.140]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1T6KDE-0006Ba-7X for linaro-mm-sig@lists.linaro.org; Tue, 28 Aug 2012 11:44:04 +0000 Received: from hqnvupgp05.nvidia.com (Not Verified[216.228.121.13]) by hqemgate03.nvidia.com id ; Tue, 28 Aug 2012 04:45:23 -0700 Received: from hqemhub02.nvidia.com ([172.17.108.22]) by hqnvupgp05.nvidia.com (PGP Universal service); Tue, 28 Aug 2012 04:44:02 -0700 X-PGP-Universal: processed; by hqnvupgp05.nvidia.com on Tue, 28 Aug 2012 04:44:02 -0700 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by hqemhub02.nvidia.com (172.20.150.31) with Microsoft SMTP Server id 8.3.264.0; Tue, 28 Aug 2012 04:44:02 -0700 Received: from daphne.nvidia.com (Not Verified[172.16.212.96]) by hqnvemgw02.nvidia.com with MailMarshal (v6,7,2,8378) id ; Tue, 28 Aug 2012 04:44:09 -0700 Received: from oreo.Nvidia.com (dhcp-10-21-25-186.nvidia.com [10.21.25.186]) by daphne.nvidia.com (8.13.8+Sun/8.8.8) with ESMTP id q7SBhw8s007357; Tue, 28 Aug 2012 04:44:01 -0700 (PDT) From: Hiroshi Doyu To: Date: Tue, 28 Aug 2012 14:43:50 +0300 Message-ID: <1346154232-13299-2-git-send-email-hdoyu@nvidia.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1346154232-13299-1-git-send-email-hdoyu@nvidia.com> References: <1346154232-13299-1-git-send-email-hdoyu@nvidia.com> MIME-Version: 1.0 Cc: linaro-mm-sig@lists.linaro.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [Linaro-mm-sig] [PATCH 2/4] ARM: dma-mapping: Remove unsed var at arm_coherent_iommu_unmap_page X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQnojJZWv3PfpqN9DXUFSSXszCE1rrJc3GAOTNA4/gWsvOYT5IGAPFKFCEjnn0R1ovf/DEg/ Signed-off-by: Hiroshi Doyu --- arch/arm/mm/dma-mapping.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index aaea5e4..8cb9542 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -1557,7 +1557,6 @@ static void arm_coherent_iommu_unmap_page(struct device *dev, dma_addr_t handle, { struct dma_iommu_mapping *mapping = dev->archdata.mapping; dma_addr_t iova = handle & PAGE_MASK; - struct page *page = phys_to_page(iommu_iova_to_phys(mapping->domain, iova)); int offset = handle & ~PAGE_MASK; int len = PAGE_ALIGN(size + offset);