RDMA/mlx5: Limit scope of get vector affinity local function
authorLeon Romanovsky <leon@kernel.org>
Thu, 17 Aug 2017 12:50:53 +0000 (15:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 20:44:48 +0000 (16:44 -0400)
commit84305d71d6ca9a2e6a33d9b403639f1cdeeee846
tree13cde7e5f42bbe48f658ab8848f086dea2c42d9d
parentfab773cb51150ea29ec041d5d001845fac026a3b
RDMA/mlx5: Limit scope of get vector affinity local function

The mlx5_ib_get_vector_affinity() call is local to main.c file and there
is no need to be declared globally visible.

Fixes: 40b24403f33e ("mlx5: support ->get_vector_affinity")
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c