Message ID | 1505280046-16608-6-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | fdd4d0836bdb0dd6a4e7e588d7dce2de37f8531d |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp534872qgf; Tue, 12 Sep 2017 22:22:48 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7/Jj3jwwFyLDXHPNuAN0hbkuzf3N9gDj7ZqIJAMkxGXa8ggnmw6QFezspc+5M8KPPSAPwD X-Received: by 10.98.81.2 with SMTP id f2mr17137633pfb.190.1505280168736; Tue, 12 Sep 2017 22:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505280168; cv=none; d=google.com; s=arc-20160816; b=c6W5Hrue9hbPv/XNLAcsj/KEALuB1XvxdQFJMTJrLSS+nxBTjJjap3w1OtR9O0hmnd RW7t26FP1p+uDHx1mlaSaPPNxK+pE1cXMPYc6/lgxfvtbXVVcIm0UdeRo3UEWsc6lzQf q7g/KBTGqjLsm5mxiY93PnI2zRkAPNrHtSOAiOvFA7+w7d0UXGLNiNgt36Kp1t+na2jW 4k5g0asYuCIFwT4Km602kSfaacBQzoc10Tqf1vICbQZeIREPzhsW/kVccSZZwC8JkIpG KYZqOYL87KgUe97pR9O9xsIIqOCtxin/a36JLpBYY9RJRejTGilxDxK/vuUZSdhscWV4 TH3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:dkim-filter:dkim-signature :arc-authentication-results; bh=MKTDKLmyXILnO6afNJS1aOIpQN/6pvNeySC0M8kT/WM=; b=hgcKMuQx0X5jvzbERdfao9PIeGlvgckTQe9LOzSsF84/UgBCDEy7V3ReyhzYuAxeZ5 aUVFzJgZL83r5nLMmpi9nGhmJ2AtdrWq2h0ndW8lTJNk4PaWe1JXsMxUfms5yoE20FAh pCogLimPMlrSP8cWZ09Hhu4JNQa6hNTE8gGVUkMIfLgs7H/BM3tSwItgUu9EfzkJz1wB lTvV86CkyFutgQDalP8K/2tCqb8THH+snasZ+K0vO+8g4ZH6q6IcXsxE89EZr7Z056nR Dvwm8DqU9THY9gNU35Wz7CdmDh1eSdBsOqfIZiUCWraVFyv5eNpQfo7RMXFRL2tQiq9X Rvig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=t/O43RHp; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=g/B+87rD; 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 Return-Path: <linux-mtd-bounces+patch=linaro.org@lists.infradead.org> Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id d6si8729978pgn.192.2017.09.12.22.22.48 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 22:22:48 -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 header.s=bombadil.20170209 header.b=t/O43RHp; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=g/B+87rD; 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=MKTDKLmyXILnO6afNJS1aOIpQN/6pvNeySC0M8kT/WM=; b=t/O43RHpxiJxDkBpkHFq+aXXHJ XkKR3ek1IDSS/l6bfrpvr5ugb5q5r/3WASlyVeXibxNhFjLeMIY9NTEoa4Eyzf36FmFBt4uZ2ZLe4 hraidSFcR/6rqOZD1u2YERHTPyQ7C4ukxr91MvqUEgakpYaa7gyD7kYyhPNZ0p+DPR+vSgMAREQlX tLTfgXqDMdO9mSceVHVq303qX+XKVlzG34/BOBi/jFRfMkIZZUf1+n0ZUBDQhAqQAAUcOZfFw6Zrz b7THrPNHBJxzPPw3Y9pn0c8azjeQkCN9qV/x//gJt/QqqhNQI2oVDcwIijiwHX6BmXkUptxKsV+wg 4iK++m+g==; 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 1ds08C-0007Bx-7s; Wed, 13 Sep 2017 05:22:36 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ds07J-0006Xv-NL for linux-mtd@lists.infradead.org; Wed, 13 Sep 2017 05:21:46 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v8D5Kpx4010397; Wed, 13 Sep 2017 14:20:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v8D5Kpx4010397 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1505280056; bh=afzzRgNrcA6Tk8r4AaJ0Wk5HMuy3w1oKDlHgWwjQupg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g/B+87rDaUxuWFMKSvzwHUHXtT0M2zRKAA8P5tIhhEtAj+q3F/CF+VaZI65pxJilm 5rQ5kxT3u15Au7O7zd8j6z+Fx9s6LLeRyjQKouIYmo0ptbP+dbwAaBomOP/+zwE1kb KzndV/beHARLkq8enkCcvVnuSpA5d/CfDClB69jFpAPdkuTME8LxbBnnLI90WkKKeE g2P8rNcZdkeWROCiUp2k4vYJ8rju9BycfgBg8nx4z4H4OitUO844rN1u3aYuJ7//2F lStPuP1dZUOzPe6bXGvCjVeoKERo6KZrvjb0z3XpycUoopJxQKlqkWZCdI3V4E826m Fm7ZgrRx/9Ygg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-mtd@lists.infradead.org Subject: [PATCH 5/9] mtd: nand: denali: slight clean up of denali_wait_for_irq() Date: Wed, 13 Sep 2017 14:20:42 +0900 Message-Id: <1505280046-16608-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505280046-16608-1-git-send-email-yamada.masahiro@socionext.com> References: <1505280046-16608-1-git-send-email-yamada.masahiro@socionext.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170912_222142_252572_0F379BFF X-CRM114-Status: UNSURE ( 9.07 ) 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_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 X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Boris Brezillon <boris.brezillon@free-electrons.com>, Marek Vasut <marek.vasut@gmail.com>, Richard Weinberger <richard@nod.at>, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com>, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>, Brian Norris <computersforpeace@gmail.com>, David Woodhouse <dwmw2@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org |
Series |
mtd: nand: denali: more clean-ups
|
expand
|
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index e7b25de..3cc56de 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c @@ -191,7 +191,7 @@ static uint32_t denali_wait_for_irq(struct denali_nand_info *denali, msecs_to_jiffies(1000)); if (!time_left) { dev_err(denali->dev, "timeout while waiting for irq 0x%x\n", - denali->irq_mask); + irq_mask); return 0; }
This function has a local variable "irq_mask" and its value is the same as denali->irq_mask. Clean up the code a little. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- drivers/mtd/nand/denali.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/