mbox series

[for-next,0/4] RDMA: Remove unused parameter udata

Message ID 1620807142-39157-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA: Remove unused parameter udata | expand

Message

Weihang Li May 12, 2021, 8:12 a.m. UTC
The first parameter of ib_umem_get() has been changed from udata to
device, but some of its callers retain 'udata' as a parameter without
using it.

Lang Cheng (4):
  RDMA/hns: Remove unused parameter udata
  RDMA/mlx4: Remove unused parameter udata
  RDMA/mlx5: Remove unused parameter udata
  RDMA/rxe: Remove unused parameter udata

 drivers/infiniband/hw/hns/hns_roce_cq.c     | 3 +--
 drivers/infiniband/hw/hns/hns_roce_db.c     | 3 +--
 drivers/infiniband/hw/hns/hns_roce_device.h | 3 +--
 drivers/infiniband/hw/hns/hns_roce_qp.c     | 4 ++--
 drivers/infiniband/hw/mlx4/cq.c             | 8 ++++----
 drivers/infiniband/hw/mlx5/cq.c             | 2 +-
 drivers/infiniband/hw/mlx5/doorbell.c       | 3 +--
 drivers/infiniband/hw/mlx5/mlx5_ib.h        | 4 +---
 drivers/infiniband/hw/mlx5/mr.c             | 2 +-
 drivers/infiniband/hw/mlx5/odp.c            | 1 -
 drivers/infiniband/hw/mlx5/qp.c             | 4 ++--
 drivers/infiniband/hw/mlx5/srq.c            | 2 +-
 drivers/infiniband/sw/rxe/rxe_loc.h         | 2 +-
 drivers/infiniband/sw/rxe/rxe_mr.c          | 2 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c       | 2 +-
 15 files changed, 19 insertions(+), 26 deletions(-)

Comments

Jason Gunthorpe May 20, 2021, 3:02 p.m. UTC | #1
On Wed, May 12, 2021 at 04:12:18PM +0800, Weihang Li wrote:
> The first parameter of ib_umem_get() has been changed from udata to
> device, but some of its callers retain 'udata' as a parameter without
> using it.
> 
> Lang Cheng (4):
>   RDMA/hns: Remove unused parameter udata
>   RDMA/mlx4: Remove unused parameter udata
>   RDMA/mlx5: Remove unused parameter udata
>   RDMA/rxe: Remove unused parameter udata

Applied to for-next, thanks

Jason