bnx2x: remove dead code and make local funcs static
authorstephen hemminger <stephen@networkplumber.org>
Fri, 22 Feb 2013 08:01:10 +0000 (08:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2013 01:16:02 +0000 (20:16 -0500)
commit732ac8cacbbbdbf9f5ba92299cc747db3abfefd0
treea259460dc1de213641bf1ed496131f72861254ff
parent62ed839dba70edfdc20a9aab92edff0451078584
bnx2x: remove dead code and make local funcs static

Sparse warned about several functions that were unnecessarily global.
After making them static, discovered that several functions were actually never used.

Compile tested only.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Eilon Greenstein <eilong@broadcomo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c