Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103Ab1FCHoh (ORCPT ); Fri, 3 Jun 2011 03:44:37 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:44172 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752637Ab1FCHog convert rfc822-to-8bit (ORCPT ); Fri, 3 Jun 2011 03:44:36 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Gf3FWUCKrLn5Q67N0zh93dlvoCv+eEA0uNpZvkrPcU+vFCvgVj3GZIb3RYj91j6CK4 KEWH6fLDeOQdvKLUVKTqg70fkGqVUMsrmf6Rv3F/h0MtV+wuznZaKRo5zfMLHW8gZjf8 VVUlqaWtnA7p4dGWGFxU+s/YfmAN6uetmjxK4= MIME-Version: 1.0 In-Reply-To: <1307086473.7474.1.camel@phoenix> References: <1307086473.7474.1.camel@phoenix> Date: Fri, 3 Jun 2011 09:44:36 +0200 Message-ID: Subject: Re: [PATCH] mtd: pxa3xx_nand: remove unused variable 'mtd' From: Daniel Mack To: Axel Lin Cc: linux-kernel@vger.kernel.org, Haojian Zhuang , Artem Bityutskiy , Eric Miao , linux-mtd@lists.infradead.org, Lei Wen Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 23 Hi Alex, On Fri, Jun 3, 2011 at 9:34 AM, Axel Lin wrote: > Remove unused variable 'mtd' to eliminate below warning. > > ?CC ? ? ?drivers/mtd/nand/pxa3xx_nand.o > drivers/mtd/nand/pxa3xx_nand.c: In function 'pxa3xx_nand_suspend': > drivers/mtd/nand/pxa3xx_nand.c:1167: warning: unused variable 'mtd' > drivers/mtd/nand/pxa3xx_nand.c: In function 'pxa3xx_nand_resume': > drivers/mtd/nand/pxa3xx_nand.c:1180: warning: unused variable 'mtd' Do you actually use this driver? I'm asking because there's some sort of nasty regression in the changes between 2.6.38 and 2.6.39 which makes the driver fail to work on my PXA300 based board. Lei and me tried to nail these issues down, but we didn't succeed yet. Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/