Re: [PATCH 38/43] drivers/net/wireless: fix sparse warnings:symbol shadows an earlier one

From: David Miller
Date: Tue Feb 17 2009 - 22:38:08 EST


From: Hannes Eder <hannes@xxxxxxxxxxxxxx>
Date: Sat, 14 Feb 2009 22:49:09 +0100

> Impact:
> Move variable closer to usage resp.
> remove redundant variables resp.
> rename function scope variable.
>
> Fix this sparse warnings:
> drivers/net/wireless/airo.c:3840:29: warning: symbol 'i' shadows an earlier one
> drivers/net/wireless/airo.c:3751:13: originally declared here
> drivers/net/wireless/airo.c:3847:29: warning: symbol 'i' shadows an earlier one
> drivers/net/wireless/airo.c:3751:13: originally declared here
> drivers/net/wireless/airo.c:3861:21: warning: symbol 'i' shadows an earlier one
> drivers/net/wireless/airo.c:3751:13: originally declared here
> drivers/net/wireless/wavelan.c:43:13: warning: symbol 'irq' shadows an earlier one
> drivers/net/wireless/wavelan.p.h:692:17: originally declared here
>
> Signed-off-by: Hannes Eder <hannes@xxxxxxxxxxxxxx>

Applied.
--
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/