]> 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)
commit9010d0a501ba3e04315f094588c4253439c9f705
treea259460dc1de213641bf1ed496131f72861254ff
parent6309bba15e72f89e5050c11535676e0a82b0d44d
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