aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/odp.c
diff options
context:
space:
mode:
authorLang Cheng <chenglang@huawei.com>2021-05-12 16:12:21 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-05-20 11:52:17 -0300
commit0bedd3d0050b29fcbf1cf61899618780fe54ecf0 (patch)
tree6fa9ae77c05f41ec7d8982f05ebd78e3e897d638 /drivers/infiniband/hw/mlx5/odp.c
parentRDMA/mlx4: Remove unused parameter udata (diff)
downloadlinux-0bedd3d0050b29fcbf1cf61899618780fe54ecf0.tar.xz
linux-0bedd3d0050b29fcbf1cf61899618780fe54ecf0.zip
RDMA/mlx5: Remove unused parameter udata
The old version of ib_umem_get() need these udata as a parameter but now they are unnecessary. Fixes: c320e527e154 ("IB: Allow calls to ib_umem_get from kernel ULPs") Link: https://lore.kernel.org/r/1620807142-39157-4-git-send-email-liweihang@huawei.com Signed-off-by: Lang Cheng <chenglang@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Acked-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/odp.c')
-rw-r--r--drivers/infiniband/hw/mlx5/odp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/odp.c b/drivers/infiniband/hw/mlx5/odp.c
index 87fa0b21d28f..0415e5319969 100644
--- a/drivers/infiniband/hw/mlx5/odp.c
+++ b/drivers/infiniband/hw/mlx5/odp.c
@@ -478,7 +478,6 @@ out_mr:
}
struct mlx5_ib_mr *mlx5_ib_alloc_implicit_mr(struct mlx5_ib_pd *pd,
- struct ib_udata *udata,
int access_flags)
{
struct mlx5_ib_dev *dev = to_mdev(pd->ibpd.device);