Re: [PATCH] mtd: nand: fsl_ifc: remove unused variable

From: Arnd Bergmann
Date: Fri Jun 09 2017 - 07:35:43 EST


On Fri, Jun 9, 2017 at 12:56 PM, Boris Brezillon
<boris.brezillon@xxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 9 Jun 2017 12:47:43 +0200
> Arnd Bergmann <arnd@xxxxxxxx> wrote:
>
>> This one was accidentally introduced without any references,
>> and it causes a harmless warning:
>>
>> drivers/mtd/nand/fsl_ifc_nand.c: In function 'fsl_ifc_read_page':
>> drivers/mtd/nand/fsl_ifc_nand.c:696:7: error: unused variable 'res' [-Werror=unused-variable]
>>
>> Fixes: 79f40cc12fd3 ("mtd: nand: fsl_ifc: fix handing of bit flips in erased pages")
>> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
>
> If you don't mind, I'll squash the change in the initial commit.

Sure, that's always the best way to do it when the commits are not yet stable.

Arnd