diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-08 19:22:29 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:55:29 -0400 |
commit | 9265fabf0d4c3d0a52e169d4b9149d52fd91db69 (patch) | |
tree | 3e3f642719fd05cc2cd4759d7365b10ac89dda2c /drivers/net/cxgb3/xgmac.c | |
parent | 33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (diff) |
cxgb3 sparse warning fixes
Fix warnings from sparse related to shadowed variables and routines
that should be declared static.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/xgmac.c')
-rw-r--r-- | drivers/net/cxgb3/xgmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/xgmac.c b/drivers/net/cxgb3/xgmac.c index bcb5bc4e649..eeb766aeced 100644 --- a/drivers/net/cxgb3/xgmac.c +++ b/drivers/net/cxgb3/xgmac.c | |||
@@ -142,7 +142,7 @@ int t3_mac_reset(struct cmac *mac) | |||
142 | return 0; | 142 | return 0; |
143 | } | 143 | } |
144 | 144 | ||
145 | int t3b2_mac_reset(struct cmac *mac) | 145 | static int t3b2_mac_reset(struct cmac *mac) |
146 | { | 146 | { |
147 | struct adapter *adap = mac->adapter; | 147 | struct adapter *adap = mac->adapter; |
148 | unsigned int oft = mac->offset; | 148 | unsigned int oft = mac->offset; |