Commit aaaf62e0 authored by Chengguang Xu's avatar Chengguang Xu Committed by Jason Gunthorpe

RDMA/rxe: Remove useless argument for update_state()

The argument 'payload' is not used in update_state(), so just remove it.

Link: https://lore.kernel.org/r/20220307145047.3235675-2-cgxu519@mykernel.netSigned-off-by: default avatarChengguang Xu <cgxu519@mykernel.net>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Acked-by: default avatarZhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 7e8e611d
...@@ -540,7 +540,7 @@ static void rollback_state(struct rxe_send_wqe *wqe, ...@@ -540,7 +540,7 @@ static void rollback_state(struct rxe_send_wqe *wqe,
} }
static void update_state(struct rxe_qp *qp, struct rxe_send_wqe *wqe, static void update_state(struct rxe_qp *qp, struct rxe_send_wqe *wqe,
struct rxe_pkt_info *pkt, u32 payload) struct rxe_pkt_info *pkt)
{ {
qp->req.opcode = pkt->opcode; qp->req.opcode = pkt->opcode;
...@@ -747,7 +747,7 @@ int rxe_requester(void *arg) ...@@ -747,7 +747,7 @@ int rxe_requester(void *arg)
goto err; goto err;
} }
update_state(qp, wqe, &pkt, payload); update_state(qp, wqe, &pkt);
goto next_wqe; goto next_wqe;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment