aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_cq.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-03-13 16:33:17 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 15:58:02 -0600
commitb92ec0fe3224dbce7d50fb6cbfaf4eaf4a6f0359 (patch)
treec3d8f7113f3d47784a47d2c1527df579b58f24fc /drivers/infiniband/sw/rxe/rxe_cq.c
parentRDMAVT: Fix synchronization around percpu_ref (diff)
downloadlinux-dev-b92ec0fe3224dbce7d50fb6cbfaf4eaf4a6f0359.tar.xz
linux-dev-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_cq.c')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_cq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_cq.c b/drivers/infiniband/sw/rxe/rxe_cq.c
index c4aabf78dc90..c9593e472753 100644
--- a/drivers/infiniband/sw/rxe/rxe_cq.c
+++ b/drivers/infiniband/sw/rxe/rxe_cq.c
@@ -36,7 +36,7 @@
#include "rxe_queue.h"
int rxe_cq_chk_attr(struct rxe_dev *rxe, struct rxe_cq *cq,
- int cqe, int comp_vector, struct ib_udata *udata)
+ int cqe, int comp_vector)
{
int count;