Message ID | 1506052009-8285-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 d108csp2798267qgf; Thu, 21 Sep 2017 20:49:32 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCdWR64xS17L44iL6TVpDs7fPJ+usSP9ZmP13wWBhYWkoryExhYUmzszMVjquaeLUazjVBn X-Received: by 10.84.204.136 with SMTP id b8mr7617615ple.361.1506052172547; Thu, 21 Sep 2017 20:49:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506052172; cv=none; d=google.com; s=arc-20160816; b=jQLQ4XYe3xx0qMQTZbGsZ+YRFWM0iPNYTHOJD90e9sKEtPK9Dk6OQoZPOg4RuW8iZx wtSOKhIfG3eVb3jNa4JUMroCTjYz9NOfwAJvL/9RKv5o7peGL4D6l1C3wPxZ4iz5smRO 4Pp+B7YvCa4vOHftL+WAmxjQdF92luBVo/Fi2j4LmzYR94Boav9Xn20epKfPCrAL9e4H woQAOh/vmD6xrdc2IFFj/9U++CjMjdJTzOBUorWXDhsHCPUdNEj+byjqRQ9gudicEF4X 3jCGXNC728Rlgg149cDqE3Ey46315texZyIQgphLFA4n0t7+yxcLf6z1e4HF96fmtSa+ KxuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=T8Y7lTuMmomqVtFpcXbDE0X8EE/AezNtRSQg9WVaso8=; b=HxMbtMEgJx+RguyZ+qZ03dXI+IAKZubOSTg8yNrH1HxTE66wn9SpV+WRwHucgtFqb7 S2IVfchBsbHvOWStOFuK5o2xao9m7G5eHLRtaDPD6vQUa/3rr3qTFFWXaaMG+sEouotS Nsi0Gify05C7VzVWbZVzcXAAJzt89OIOKm00lt1bYy9SQBlEVCBeIhYejbacl/HcwzAg L4xas7skA+pN1+C6qbsrAWoODp9jlPWgp36mz9ZCc1JSNdnwWrGw2QH95fSZFZ9uWslH Y42BAWnewuIgugXVkVlXa+Tj6vqqmtVg+gIasnSzqeXWLAoZ43x+1h+6dyY38Hk6JJh8 Ih8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=XJvfEL5E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m68si2008494pfm.561.2017.09.21.20.49.32; Thu, 21 Sep 2017 20:49:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=XJvfEL5E; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752011AbdIVDta (ORCPT <rfc822;daniel.diaz@linaro.org> + 26 others); Thu, 21 Sep 2017 23:49:30 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:59697 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751887AbdIVDtA (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 21 Sep 2017 23:49:00 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v8M3kwAO029389; Fri, 22 Sep 2017 12:47:03 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v8M3kwAO029389 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1506052023; bh=T8Y7lTuMmomqVtFpcXbDE0X8EE/AezNtRSQg9WVaso8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XJvfEL5Eze7FzfVzHG12i6mmV/uOisED7DY7VyynTz9ziYYAFN/EexYB5NFeuyzRO CHRP5kCh3Wc4KCkyVB3RD/0sCyLZaIYCZ8JqhU18oMHKA7zpcXb16OdR5udzteTnEZ 0dmEK4Ka37s1Wj+msEZ0h+hJtOt/v2lQvGOU3f9qkO1n6qttapqxbqTOs6uuc+1cBs EHF0n6kjDBqpLUTdbJx7wdNpgscQ7/1NdTQOMlgZGll/LFhKfAF2avca/Hu6ixS9/n EwiYTrgdXFMH5oukrZeZqKzKS20iDNQI9mFEg+glhonujOIXw8Yz6JdOdI2bBiBPOr HqRUSV7k1F2HQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-mtd@lists.infradead.org Cc: Masahiro Yamada <yamada.masahiro@socionext.com>, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>, linux-kernel@vger.kernel.org, Boris Brezillon <boris.brezillon@free-electrons.com>, Marek Vasut <marek.vasut@gmail.com>, Brian Norris <computersforpeace@gmail.com>, Richard Weinberger <richard@nod.at>, David Woodhouse <dwmw2@infradead.org> Subject: [PATCH v2 05/12] mtd: nand: denali: slight clean up of denali_wait_for_irq() Date: Fri, 22 Sep 2017 12:46:42 +0900 Message-Id: <1506052009-8285-6-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506052009-8285-1-git-send-email-yamada.masahiro@socionext.com> References: <1506052009-8285-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[v2,01/12] mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller
|
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> --- Changes in v2: None drivers/mtd/nand/denali.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4