]> err.no Git - linux-2.6/commit
net: marvell.c fix sparse shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 3 Apr 2008 00:33:35 +0000 (17:33 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 4 Apr 2008 21:26:15 +0000 (17:26 -0400)
commit5da4e37e59663bd1e9eae1d717e2ceb178a485b8
tree30ee6ad85d368c4c6dbdec209583faf152f4bf0f
parentb2a5c19ca0315723cecb9489ff8b67c4f17367b4
net: marvell.c fix sparse shadowed variable warning

The other if blocks don't redeclare temp, remove the redeclaration in
the final if() block.

drivers/net/phy/marvell.c:214:7: warning: symbol 'temp' shadows an earlier one
drivers/net/phy/marvell.c:160:6: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/marvell.c