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>
This commit is contained in:
Stephen Hemminger
2007-10-08 16:22:29 -07:00
committed by David S. Miller
parent 33a85aa1c9
commit 9265fabf0d
5 changed files with 31 additions and 33 deletions

View File

@@ -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;