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.net
Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
Chengguang Xu 2022-03-07 22:50:47 +08:00 committed by Jason Gunthorpe
parent 7e8e611d6a
commit aaaf62e066
1 changed files with 2 additions and 2 deletions

View File

@ -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,
struct rxe_pkt_info *pkt, u32 payload)
struct rxe_pkt_info *pkt)
{
qp->req.opcode = pkt->opcode;
@ -747,7 +747,7 @@ next_wqe:
goto err;
}
update_state(qp, wqe, &pkt, payload);
update_state(qp, wqe, &pkt);
goto next_wqe;