OSDN Git Service

RDMA/rxe: Remove unused mask parameter
authorlizhijian@fujitsu.com <lizhijian@fujitsu.com>
Fri, 15 Jul 2022 03:46:36 +0000 (03:46 +0000)
committerLeon Romanovsky <leonro@nvidia.com>
Mon, 18 Jul 2022 11:50:35 +0000 (14:50 +0300)
This parameter had been deprecated since below commit:
1a7085b34291 ("RDMA/rxe: Skip adjusting remote addr for write in retry operation")

Link: https://lore.kernel.org/r/20220715035340.1900168-1-lizhijian@fujitsu.com
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/rxe_req.c

index 15fefc6..dec4dda 100644 (file)
@@ -15,8 +15,7 @@ static int next_opcode(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
                       u32 opcode);
 
 static inline void retry_first_write_send(struct rxe_qp *qp,
-                                         struct rxe_send_wqe *wqe,
-                                         unsigned int mask, int npsn)
+                                         struct rxe_send_wqe *wqe, int npsn)
 {
        int i;
 
@@ -83,7 +82,7 @@ static void req_retry(struct rxe_qp *qp)
                        if (mask & WR_WRITE_OR_SEND_MASK) {
                                npsn = (qp->comp.psn - wqe->first_psn) &
                                        BTH_PSN_MASK;
-                               retry_first_write_send(qp, wqe, mask, npsn);
+                               retry_first_write_send(qp, wqe, npsn);
                        }
 
                        if (mask & WR_READ_MASK) {