diff options
author | 2017-08-17 15:50:53 +0300 | |
---|---|---|
committer | 2017-08-24 16:44:48 -0400 | |
commit | 84305d71d6ca9a2e6a33d9b403639f1cdeeee846 (patch) | |
tree | 13cde7e5f42bbe48f658ab8848f086dea2c42d9d /drivers/infiniband/hw/mlx5 | |
parent | IB/rxe: Make rxe_counter_name static (diff) | |
download | linux-84305d71d6ca9a2e6a33d9b403639f1cdeeee846.tar.gz linux-84305d71d6ca9a2e6a33d9b403639f1cdeeee846.tar.bz2 linux-84305d71d6ca9a2e6a33d9b403639f1cdeeee846.zip |
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
-rw-r--r-- | drivers/infiniband/hw/mlx5/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index 1a67668f092f..762ef6bf219e 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c @@ -3819,8 +3819,8 @@ static void init_delay_drop(struct mlx5_ib_dev *dev) mlx5_ib_warn(dev, "Failed to init delay drop debugfs\n"); } -const struct cpumask *mlx5_ib_get_vector_affinity(struct ib_device *ibdev, - int comp_vector) +static const struct cpumask * +mlx5_ib_get_vector_affinity(struct ib_device *ibdev, int comp_vector) { struct mlx5_ib_dev *dev = to_mdev(ibdev); |