drivers/net/cxgb3: fix sparse warning: symbol shadows an earlier one
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:16:04 +0000 (11:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 01:26:09 +0000 (17:26 -0800)
commit97915b5bf6454416c7b27444fc95c08132b74251
tree35aaedbbee99918d241b2474ab02c16f454f7ca8
parent54b87323eddd9b7854249f05cfd183a0ac602ab6
drivers/net/cxgb3: fix sparse warning: symbol shadows an earlier one

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

Fix this sparse warning:
  drivers/net/cxgb3/cxgb3_main.c:1586:21: warning: symbol 'cap' shadows an earlier one

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb3/cxgb3_main.c