[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYGDz40b4ayvz620=ZzMmArJR-bq1Ah8kWAc+3VjnkSQQ@mail.gmail.com>
Date: Wed, 20 Jun 2012 10:00:46 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Devendra Naga <devendra.aaru@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl/pinctrl-u300: remove unused variable i
On Mon, Jun 18, 2012 at 7:47 PM, Devendra Naga <devendra.aaru@...il.com> 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 <devendra.aaru@...il.com>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists