Messages in this thread | | | Date | Wed, 20 Jun 2012 10:00:46 +0200 | Subject | Re: [PATCH] pinctrl/pinctrl-u300: remove unused variable i | From | Linus Walleij <> |
| |
On Mon, Jun 18, 2012 at 7:47 PM, Devendra Naga <devendra.aaru@gmail.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@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |