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:
Родитель
7e8e611d6a
Коммит
aaaf62e066
|
@ -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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче