Re: [PATCH 30/43] drivers/net/tokenring: fix sparse warning:symbol shadows an earlier one

From: David Miller
Date: Tue Feb 17 2009 - 20:42:59 EST


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

> Impact: Remove redundant variables.
>
> Fix this sparse warnings:
> drivers/net/tokenring/lanstreamer.c:619:21: warning: symbol 'i' shadows an earlier one
> drivers/net/tokenring/lanstreamer.c:589:13: originally declared here
> drivers/net/tokenring/madgemc.c:695:34: warning: symbol 'tp' shadows an earlier one
> drivers/net/tokenring/madgemc.c:689:26: originally declared here
> drivers/net/tokenring/olympic.c:702:21: warning: symbol 'i' shadows an earlier one
> drivers/net/tokenring/olympic.c:440:13: 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/