Re: [PATCH] pinctrl/pinctrl-u300: remove unused variable i

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 18, 2012 at 7:47 PM, Devendra Naga <devendra.aaru@xxxxxxxxx> 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@xxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[Index of Archives]

  Powered by Linux

[Older Kernel Discussion]     [Yosemite National Park Forum]     [Large Format Photos]     [Gimp]     [Yosemite Photos]     [Stuff]     [Index of Other Archives]