diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-13 23:33:17 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-15 22:58:02 +0100 |
commit | b92ec0fe3224dbce7d50fb6cbfaf4eaf4a6f0359 (patch) | |
tree | c3d8f7113f3d47784a47d2c1527df579b58f24fc /drivers/infiniband/sw/rxe/rxe_verbs.c | |
parent | RDMAVT: Fix synchronization around percpu_ref (diff) | |
download | linux-b92ec0fe3224dbce7d50fb6cbfaf4eaf4a6f0359.tar.xz linux-b92ec0fe3224dbce7d50fb6cbfaf4eaf4a6f0359.zip |
RDMA/rxe: Get rid of confusing udata parameter to rxe_cq_chk_attr
It isn't used and it couldn't possibly ever be used correctly.
Tested-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.c')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c index 45594091353c..34539c3242a8 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.c +++ b/drivers/infiniband/sw/rxe/rxe_verbs.c @@ -892,7 +892,7 @@ static struct ib_cq *rxe_create_cq(struct ib_device *dev, if (attr->flags) return ERR_PTR(-EINVAL); - err = rxe_cq_chk_attr(rxe, NULL, attr->cqe, attr->comp_vector, udata); + err = rxe_cq_chk_attr(rxe, NULL, attr->cqe, attr->comp_vector); if (err) goto err1; @@ -931,7 +931,7 @@ static int rxe_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) struct rxe_cq *cq = to_rcq(ibcq); struct rxe_dev *rxe = to_rdev(ibcq->device); - err = rxe_cq_chk_attr(rxe, cq, cqe, 0, udata); + err = rxe_cq_chk_attr(rxe, cq, cqe, 0); if (err) goto err1; |