From patchwork Mon Sep 4 14:58:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 809714 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Bc/lrWaM"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Z0+tAo9F"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xmCfb5dYYz9t2R for ; Tue, 5 Sep 2017 00:59:03 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=56K+xBf4rJfO8E609zMUri5B3hkfLddStuHZ4CdGAMo=; b=Bc/ lrWaMaaHsjLe2yaglAiEwWtfpVTEFJexfBZK+snxsYAqUq7FaodEB+PnEC+lLD7Af20WxfxvAFDJF c903Z0r7Mnnnectj/h9RdwaJc2zatSfSDLWwSrVXmOHIWyyp4Z9FCsByJGlMdmSmiqnIs/fy93/ZW GhxcUKBuuUOD8Ish3MHRqCntenp7nus1vwKFHfsmnsgT6CyAnjAR4FwtNmid9qM6s/mDk8KutOvda aQ1lrI3HGrACdE828o4qD0aZfscFtjM673HAIEdOVNR6dwVwc5Ea1Sw8/eHkvSVYZsgcF9p6I56eg YKmaerrseGN03A8neg+Ku4zW8Fw7fag==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dosq4-0006Zn-82; Mon, 04 Sep 2017 14:59:00 +0000 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dosq0-0006Yh-GZ for linux-arm-kernel@lists.infradead.org; Mon, 04 Sep 2017 14:58:58 +0000 Received: by mail-qk0-x242.google.com with SMTP id w20so371423qkb.3 for ; Mon, 04 Sep 2017 07:58:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=DrwBHQ+VLSqRECoxYllP9LiEGLN0mQ3GwvHAhs/hY14=; b=Z0+tAo9Fr0KTpjMXd3/F4f6t9U/HRughM2Ga3QtVhOU+Rfgf+pi9doMq44TKPfboeg Mo29zhNo/BKv+g6qnDHb7hBcjmsUwFgeINHsNLKx07lGBbO/kFYJFdzc35E2yP0yVNUK Ms5qEQKmCZtPHN6rUXEPGiOCYwaEb2v9GzkpqYG78XgnKiU11JvRxesn/sxzd3lT8aBO PXp1jEaywO7eukLinBIpsw5FT1J4TxZxDQhI8YLq51KFo+01TEoU/4qkf2jWMutom71l moHQXtBAoZ992aAvXlOZMl8q6RCeTyhx3YUd6XCKk3ccrt8BME2fIjpmZrquk0MjA3z/ LS9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=DrwBHQ+VLSqRECoxYllP9LiEGLN0mQ3GwvHAhs/hY14=; b=FQsAqFPqzPI+cd/efZDyjRsaPJidbL40z/gR2RhJG0x7CyVxH5kJu8WruKisolqHHq RzZaC1cOneCL6uBUfz6xNfVgSx4QjwdxHZUthGOnDUDbA2EnCkPBAGLwRuJYR8AEKnXT Zh3LDEr1yYNulVtBvCpZ9rTj9HLDqjpX9Ob7r95PqrxKUdq+JqK8HO4GFf4rSBEB3U5x XxgoXUzBihHA6xx/d09z/RUcpHa0Iu/FD9aVFMasQYmDf0tQbbb6WEOeVFEyJ+WweXg5 iiGUvbray1tnHLRa+YLeB7qNcE+tzjCZ3uHPcZUwoL4IUcFAX30+4llyTUgv0hBemTx/ Tlyw== X-Gm-Message-State: AHPjjUiWCWpQHRHd8D9/9vFgKZ+zqaEn5vqRZKVTbkO/NSe3TeMbdGyd /GN5euon1K5pug== X-Google-Smtp-Source: ADKCNb74lZ2jSQh+MY1XggBUkFZznqtQe7qXxf2B9EK+u+u9eigrezvChn5hbH6zc2SkirNt+eSqyg== X-Received: by 10.55.159.81 with SMTP id i78mr1162289qke.81.1504537114030; Mon, 04 Sep 2017 07:58:34 -0700 (PDT) Received: from localhost.localdomain ([187.180.183.184]) by smtp.gmail.com with ESMTPSA id d187sm3846317qkg.12.2017.09.04.07.58.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 04 Sep 2017 07:58:33 -0700 (PDT) From: Fabio Estevam To: hch@lst.de Subject: [PATCH] ARM: imx: mx31moboard: Remove unused 'dma' variable Date: Mon, 4 Sep 2017 11:58:14 -0300 Message-Id: <1504537094-20898-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170904_075856_661112_DDB1917B X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:400d:c09:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabio Estevam , shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam Commit 2436bdcda53f ("dma-coherent: remove the DMA_MEMORY_MAP and DMA_MEMORY_IO flags") missed to remove the 'dma' variable causing the following build warning: arch/arm/mach-imx/mach-mx31moboard.c:478:6: warning: unused variable 'dma' [-Wunused-variable] Remove the unused 'dma' variable. Signed-off-by: Fabio Estevam --- This applies against linux-next 20170904. arch/arm/mach-imx/mach-mx31moboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 3cd0309..7716f83 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/arch/arm/mach-imx/mach-mx31moboard.c @@ -475,7 +475,7 @@ static phys_addr_t mx3_camera_base __initdata; static int __init mx31moboard_init_cam(void) { - int dma, ret; + int ret; struct platform_device *pdev; imx31_add_ipu_core();