aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/xgmac.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-10-08 19:22:29 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:55:29 -0400
commit9265fabf0d4c3d0a52e169d4b9149d52fd91db69 (patch)
tree3e3f642719fd05cc2cd4759d7365b10ac89dda2c /drivers/net/cxgb3/xgmac.c
parent33a85aa1c915c2f114bdac9b6d1ec00cc0fbc485 (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.c2
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
145int t3b2_mac_reset(struct cmac *mac) 145static 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;