Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755613Ab2FTIAu (ORCPT ); Wed, 20 Jun 2012 04:00:50 -0400 Received: from mail-qa0-f50.google.com ([209.85.216.50]:33249 "EHLO mail-qa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755520Ab2FTIAr convert rfc822-to-8bit (ORCPT ); Wed, 20 Jun 2012 04:00:47 -0400 MIME-Version: 1.0 In-Reply-To: <1340041638-30233-1-git-send-email-devendra.aaru@gmail.com> References: <1340041638-30233-1-git-send-email-devendra.aaru@gmail.com> Date: Wed, 20 Jun 2012 10:00:46 +0200 Message-ID: Subject: Re: [PATCH] pinctrl/pinctrl-u300: remove unused variable i From: Linus Walleij To: Devendra Naga Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 949 Lines: 28 On Mon, Jun 18, 2012 at 7:47 PM, Devendra Naga wrote: > the unused variable warning was thrown when compiled using the > gcc for ARM (arm-linux-gnueabihf-gcc) with u300_defconfig selected, > > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- u300_defconfig > > and then > > make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- > > gives the following warn, > > drivers/pinctrl/pinctrl-u300.c: In function ?u300_pmx_remove?: > drivers/pinctrl/pinctrl-u300.c:1178:6: warning: unused variable ?i? [-Wunused-variable] > > Signed-off-by: Devendra Naga Incidentally I was working on this code and fixed the same issue, but thanks anyway! Yours, Linus Walleij -- 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/