Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/rxe: Remove useless parameters for update_state()

wqe was not used by update_state() so far.

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

Link: https://lore.kernel.org/r/20220412022903.574238-1-lizhijian@fujitsu.com
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

authored by

Li Zhijian and committed by
Jason Gunthorpe
0f328c70 c8a02e38

+2 -3
+2 -3
drivers/infiniband/sw/rxe/rxe_req.c
··· 525 525 qp->req.psn = rollback_psn; 526 526 } 527 527 528 - static void update_state(struct rxe_qp *qp, struct rxe_send_wqe *wqe, 529 - struct rxe_pkt_info *pkt) 528 + static void update_state(struct rxe_qp *qp, struct rxe_pkt_info *pkt) 530 529 { 531 530 qp->req.opcode = pkt->opcode; 532 531 ··· 752 753 goto err; 753 754 } 754 755 755 - update_state(qp, wqe, &pkt); 756 + update_state(qp, &pkt); 756 757 757 758 goto next_wqe; 758 759