Commit 0f328c70 authored by Li Zhijian's avatar Li Zhijian Committed by Jason Gunthorpe

RDMA/rxe: Remove useless parameters for update_state()

wqe was not used by update_state() so far.

Commit aaaf62e0 ("RDMA/rxe: Remove useless argument for
update_state()") just did a partial fixes.

Link: https://lore.kernel.org/r/20220412022903.574238-1-lizhijian@fujitsu.comSigned-off-by: default avatarLi Zhijian <lizhijian@fujitsu.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent c8a02e38
...@@ -525,8 +525,7 @@ static void rollback_state(struct rxe_send_wqe *wqe, ...@@ -525,8 +525,7 @@ static void rollback_state(struct rxe_send_wqe *wqe,
qp->req.psn = rollback_psn; qp->req.psn = rollback_psn;
} }
static void update_state(struct rxe_qp *qp, struct rxe_send_wqe *wqe, static void update_state(struct rxe_qp *qp, struct rxe_pkt_info *pkt)
struct rxe_pkt_info *pkt)
{ {
qp->req.opcode = pkt->opcode; qp->req.opcode = pkt->opcode;
...@@ -753,7 +752,7 @@ int rxe_requester(void *arg) ...@@ -753,7 +752,7 @@ int rxe_requester(void *arg)
goto err; goto err;
} }
update_state(qp, wqe, &pkt); update_state(qp, &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