Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754515AbcKLV6E (ORCPT ); Sat, 12 Nov 2016 16:58:04 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35960 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932619AbcKLV4M (ORCPT ); Sat, 12 Nov 2016 16:56:12 -0500 Subject: Re: [PATCH 03/11] mtd: nand: denali: remove bogus comment about interrupt handler setup To: Masahiro Yamada , linux-mtd@lists.infradead.org References: <1478666130-13413-1-git-send-email-yamada.masahiro@socionext.com> <1478666130-13413-4-git-send-email-yamada.masahiro@socionext.com> Cc: Boris Brezillon , David Woodhouse , Richard Weinberger , Jason Roberts , linux-kernel@vger.kernel.org, Chuanxiao Dong , Cyrille Pitchen , Brian Norris , David Woodhouse , Dinh Nguyen , Alan Cox From: Marek Vasut Message-ID: <421bd929-f60f-78a9-d563-0b5972f48c0c@gmail.com> Date: Sat, 12 Nov 2016 22:29:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <1478666130-13413-4-git-send-email-yamada.masahiro@socionext.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 965 Lines: 33 On 11/09/2016 05:35 AM, Masahiro Yamada wrote: > The interrupt handler is setup in denali_init(), not in > denali_drv_init(). This comment is false. > > Such a comment adds no value, so just delete it instead of move. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/mtd/nand/denali.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c > index 51ddb84..d6f1b29 100644 > --- a/drivers/mtd/nand/denali.c > +++ b/drivers/mtd/nand/denali.c > @@ -1436,7 +1436,6 @@ static int denali_ooblayout_free(struct mtd_info *mtd, int section, > /* initialize driver data structures */ > static void denali_drv_init(struct denali_nand_info *denali) > { > - /* setup interrupt handler */ > /* > * the completion object will be used to notify > * the callee that the interrupt is done > -- Best regards, Marek Vasut