diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-08 16:22:29 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:29 -0700 |
commit | 9265fabf0d4c3d0a52e169d4b9149d52fd91db69 (patch) | |
tree | 3e3f642719fd05cc2cd4759d7365b10ac89dda2c /drivers/net/cxgb3/xgmac.c | |
parent | 33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (diff) | |
download | blackbird-op-linux-9265fabf0d4c3d0a52e169d4b9149d52fd91db69.tar.gz blackbird-op-linux-9265fabf0d4c3d0a52e169d4b9149d52fd91db69.zip |
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 bcb5bc4e649b..eeb766aeced9 100644 --- a/drivers/net/cxgb3/xgmac.c +++ b/drivers/net/cxgb3/xgmac.c @@ -142,7 +142,7 @@ int t3_mac_reset(struct cmac *mac) return 0; } -int t3b2_mac_reset(struct cmac *mac) +static int t3b2_mac_reset(struct cmac *mac) { struct adapter *adap = mac->adapter; unsigned int oft = mac->offset; |