From patchwork Wed Mar 22 14:07:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 95752 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp232702obz; Wed, 22 Mar 2017 07:09:33 -0700 (PDT) X-Received: by 10.84.231.135 with SMTP id g7mr34888805plk.12.1490191773088; Wed, 22 Mar 2017 07:09:33 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id r17si1940800pgg.388.2017.03.22.07.09.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 07:09:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org 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:References: In-Reply-To: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:List-Owner; bh=hifJ66O6o3bJsC2wyKTzaYyKMmuSU05XsZaI3M5W+EE=; b=n70B4vzFoaUNGL3icA5o4VUCrh LlJMlYAVgFRDpmBTic2OjW2dyWUA1uAWwGcZoAzBoG6sX2Bn7HNjk220p/kDdKqxhqSSlWe8xzeTr kqAAhr4OMnc5eSSOo4tmzER9XoQS70vf4Y+1Sn8ivzsB2zkfKzzLRq2oFtzI7ROGSr98GY1HJ4Pfj AzGwOLImbVIL9YAJn7nV01fqkq70bseTLuKW50ZzJPAD+aQz2aOraKfH8moFYajz8rX398018B3WP iqaP3ebCsqrFWAfQVdyVR5ZjixYTRbdDr5PUz9BEdrZTKKcHd+6yMr+6bjPuKXMT+piIZESIBfC+F 1GL5s0ZA==; 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 1cqgx5-00064A-4V; Wed, 22 Mar 2017 14:09:27 +0000 Received: from conuserg-07.nifty.com ([210.131.2.74]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqgwz-0005uH-1w for linux-mtd@lists.infradead.org; Wed, 22 Mar 2017 14:09:25 +0000 Received: from pug.jp.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id v2ME8LDN010154; Wed, 22 Mar 2017 23:08:27 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v2ME8LDN010154 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1490191708; bh=kVnKMF1bU+yPNN1ErYOgKoEpFhCR98uosgBtITbRHQ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IjaNMnS8H6mynOQfkgjqPfizNkXTLcLyFxpjB0XSoyUEJVps6+rdhKcw//P9JHIZE K5PKfqmuK1eQtpqqXohaf40eC2tuzFMJ6Xpqt5r2PdYKDQZGibn03FFxNJ8RdqVpVg TA6sbtf5VXH/+UzAERIfvrn6LjDalcXovQG4sgjFhBi3ASI6qV94lhw+Y+dZxDDgeG kQ8zW9OZy9FhEV2VObGQWRcZNywDKDGRHnVOcZ8buhBpGlKNkqbujv1REcmuktoXLT 1tzvS6x6JaYh64bIvbble2HFVS6F0ao/qtox1GqmqBuisjEKRlTtVTxEORUbZhNF1R kHHnDHHvrkgyA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [PATCH v2 04/53] mtd: nand: denali: remove redundant define of BANK(x) Date: Wed, 22 Mar 2017 23:07:11 +0900 Message-Id: <1490191680-14481-5-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1490191680-14481-1-git-send-email-yamada.masahiro@socionext.com> References: <1490191680-14481-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_070921_674328_23B14127 X-CRM114-Status: UNSURE ( 7.75 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: laurent.monat@idquantique.com, Boris Brezillon , thorsten.christiansson@idquantique.com, Richard Weinberger , Marek Vasut , Masahiro Yamada , Artem Bityutskiy , Cyrille Pitchen , Jason Roberts , linux-kernel@vger.kernel.org, Dinh Nguyen , Masami Hiramatsu , Chuanxiao Dong , Jassi Brar , Brian Norris , Enrico Jorns , David Woodhouse , Graham Moore MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This macro is defined twice in denali.c (around line 98 and line 651), so remove the second one. Signed-off-by: Masahiro Yamada --- Changes in v2: None drivers/mtd/nand/denali.c | 1 - 1 file changed, 1 deletion(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index f993e13..c9806e6 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -648,7 +648,6 @@ static irqreturn_t denali_isr(int irq, void *dev_id) spin_unlock(&denali->irq_lock); return result; } -#define BANK(x) ((x) << 24) static uint32_t wait_for_irq(struct denali_nand_info *denali, uint32_t irq_mask) {