qlge: fix sparse warnings
authorStephen Hemminger <shemminger@vyatta.com>
Sat, 22 Nov 2008 01:29:50 +0000 (17:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Nov 2008 01:29:50 +0000 (17:29 -0800)
commit8668ae9241de085f046aa14fa3a97654a31a06e3
tree9b1feee50c5217e4b978bc08776930785b4299d4
parent25ed784910e43e61b5642dd8d2d8c13384a0d290
qlge: fix sparse warnings

Fix sparse warnings and one bug:
    * Several routines can be static
    * Don't lose __iomem annotation
    * fix locking on error path (bug)

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlge/qlge_main.c