RDMA/nes: Make unnecessarily global functions static
authorRoland Dreier <rolandd@cisco.com>
Wed, 21 Apr 2010 22:58:28 +0000 (15:58 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 21 Apr 2010 22:58:28 +0000 (15:58 -0700)
commit53978b46cd946ef1dba96ed6d0276ff656dd5d42
tree46a30d962a321a0580962a9e3d750621728a05a7
parentce6e74f23d8018f50609f694b6177c139486ebe5
RDMA/nes: Make unnecessarily global functions static

This allows the compiler to do a bit better; on my x86-64 build:

add/remove: 0/2 grow/shrink: 1/0 up/down: 2288/-2365 (-77)
function                                     old     new   delta
nes_init_phy                                 273    2561   +2288
nes_init_1g_phy                              469       -    -469
nes_init_2025_phy                           1896       -   -1896

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_hw.c
drivers/infiniband/hw/nes/nes_verbs.c