]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0309adf86e5d224d4822eafeecce270428429123
treea259460dc1de213641bf1ed496131f72861254ff
parent754483ed0c5bbabc79157a131aef70eea108328e
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