diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:09 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:09 -0400 |
commit | 1a855fbfb65e0b7b5cce00d7c6a61185ed765edf (patch) | |
tree | 7f6bfd3a7e17abf99fa6d529f9dec3842f701a38 /drivers/infiniband/hw/nes/nes_verbs.c | |
parent | 71e0957c6291da030e6f89351846225876731df3 (diff) |
RDMA/nes: Make symbols used only in a single source file static
Avoid namespace pollution and allow the compiler to optimize better.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_verbs.c')
-rw-r--r-- | drivers/infiniband/hw/nes/nes_verbs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c index e1671d843fe1..245970302678 100644 --- a/drivers/infiniband/hw/nes/nes_verbs.c +++ b/drivers/infiniband/hw/nes/nes_verbs.c | |||
@@ -49,6 +49,7 @@ atomic_t mod_qp_timouts; | |||
49 | atomic_t qps_created; | 49 | atomic_t qps_created; |
50 | atomic_t sw_qps_destroyed; | 50 | atomic_t sw_qps_destroyed; |
51 | 51 | ||
52 | static void nes_unregister_ofa_device(struct nes_ib_device *nesibdev); | ||
52 | 53 | ||
53 | /** | 54 | /** |
54 | * nes_alloc_mw | 55 | * nes_alloc_mw |
@@ -3895,7 +3896,7 @@ int nes_register_ofa_device(struct nes_ib_device *nesibdev) | |||
3895 | /** | 3896 | /** |
3896 | * nes_unregister_ofa_device | 3897 | * nes_unregister_ofa_device |
3897 | */ | 3898 | */ |
3898 | void nes_unregister_ofa_device(struct nes_ib_device *nesibdev) | 3899 | static void nes_unregister_ofa_device(struct nes_ib_device *nesibdev) |
3899 | { | 3900 | { |
3900 | struct nes_vnic *nesvnic = nesibdev->nesvnic; | 3901 | struct nes_vnic *nesvnic = nesibdev->nesvnic; |
3901 | int i; | 3902 | int i; |