diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-10-09 01:22:29 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-11 01:55:29 +0200 |
commit | 9265fabf0d4c3d0a52e169d4b9149d52fd91db69 (patch) | |
tree | 3e3f642719fd05cc2cd4759d7365b10ac89dda2c /drivers/net/cxgb3/xgmac.c | |
parent | chelsio: sparse warning fixes (old cxgb2) (diff) | |
download | linux-9265fabf0d4c3d0a52e169d4b9149d52fd91db69.tar.xz 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; |