projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e8e611
)
RDMA/rxe: Remove useless argument for update_state()
author
Chengguang Xu
<cgxu519@mykernel.net>
Mon, 7 Mar 2022 14:50:47 +0000
(22:50 +0800)
committer
Jason Gunthorpe
<jgg@nvidia.com>
Mon, 14 Mar 2022 23:36:01 +0000
(20:36 -0300)
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>
drivers/infiniband/sw/rxe/rxe_req.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_req.c
b/drivers/infiniband/sw/rxe/rxe_req.c
index b28036a7a3b8c821b4399952c2e9ac85eff754e3..a3c78b4ac9f1c6e183e6e154cb9a6ec915b1e80e 100644
(file)
--- a/
drivers/infiniband/sw/rxe/rxe_req.c
+++ b/
drivers/infiniband/sw/rxe/rxe_req.c
@@
-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;