Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753428AbcDSLEP (ORCPT ); Tue, 19 Apr 2016 07:04:15 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:11134 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbcDSLEO (ORCPT ); Tue, 19 Apr 2016 07:04:14 -0400 Subject: Re: [PATCH] mtd: nand: jz4740: Remove unused local variable To: Maarten ter Huurne , Boris Brezillon References: <1460995496-11666-1-git-send-email-maarten@treewalker.org> CC: , From: Harvey Hunt Message-ID: <571610AC.2010002@imgtec.com> Date: Tue, 19 Apr 2016 12:04:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1460995496-11666-1-git-send-email-maarten@treewalker.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.154.26] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 746 Lines: 27 Hi Maarten, On 18/04/16 17:04, Maarten ter Huurne wrote: > Signed-off-by: Maarten ter Huurne > --- > drivers/mtd/nand/jz4740_nand.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/mtd/nand/jz4740_nand.c b/drivers/mtd/nand/jz4740_nand.c > index 673ceb2..2f39ee1 100644 > --- a/drivers/mtd/nand/jz4740_nand.c > +++ b/drivers/mtd/nand/jz4740_nand.c > @@ -221,7 +221,6 @@ static int jz_nand_correct_ecc_rs(struct mtd_info *mtd, uint8_t *dat, > struct jz_nand *nand = mtd_to_jz_nand(mtd); > int i, error_count, index; > uint32_t reg, status, error; > - uint32_t t; > unsigned int timeout = 1000; > > for (i = 0; i < 9; ++i) > Acked-by: Harvey Hunt Thanks, Harvey