drivers/net/sfc: fix sparse warning: symbol shadows an earlier one
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:41:03 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 01:37:59 +0000 (17:37 -0800)
commit37d37695ef34b04ecf20586c12ec0c932283a130
treee4a750210d144b6f327b2a1eb73632ca001e912e
parent6ae038512ced0f179abd4d2387786cc69d2fb801
drivers/net/sfc: fix sparse warning: symbol shadows an earlier one

Impact: Move variable declaration as close to their usage as possible.

Fix this sparse warning:
  drivers/net/sfc/tenxpress.c:589:22: warning: symbol 'link_ok' shadows an earlier one
  drivers/net/sfc/tenxpress.c:575:30: originally declared here

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/tenxpress.c