* [PATCH] IB/rxe: Get rid of redundant plus
@ 2021-12-16 8:43 Li Zhijian
2022-01-03 8:11 ` Leon Romanovsky
0 siblings, 1 reply; 2+ messages in thread
From: Li Zhijian @ 2021-12-16 8:43 UTC (permalink / raw)
To: zyjzyj2000, jgg; +Cc: linux-rdma, linux-kernel, Li Zhijian
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
---
drivers/infiniband/sw/rxe/rxe_opcode.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/sw/rxe/rxe_opcode.c b/drivers/infiniband/sw/rxe/rxe_opcode.c
index 3ef5a10a6efd..79122eeb4d82 100644
--- a/drivers/infiniband/sw/rxe/rxe_opcode.c
+++ b/drivers/infiniband/sw/rxe/rxe_opcode.c
@@ -879,9 +879,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
[RXE_ATMETH] = RXE_BTH_BYTES
+ RXE_RDETH_BYTES
+ RXE_DETH_BYTES,
- [RXE_PAYLOAD] = RXE_BTH_BYTES +
+ [RXE_PAYLOAD] = RXE_BTH_BYTES
+ RXE_ATMETH_BYTES
- + RXE_DETH_BYTES +
+ + RXE_DETH_BYTES
+ RXE_RDETH_BYTES,
}
},
@@ -900,9 +900,9 @@ struct rxe_opcode_info rxe_opcode[RXE_NUM_OPCODE] = {
[RXE_ATMETH] = RXE_BTH_BYTES
+ RXE_RDETH_BYTES
+ RXE_DETH_BYTES,
- [RXE_PAYLOAD] = RXE_BTH_BYTES +
+ [RXE_PAYLOAD] = RXE_BTH_BYTES
+ RXE_ATMETH_BYTES
- + RXE_DETH_BYTES +
+ + RXE_DETH_BYTES
+ RXE_RDETH_BYTES,
}
},
--
2.33.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-03 8:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 8:43 [PATCH] IB/rxe: Get rid of redundant plus Li Zhijian
2022-01-03 8:11 ` Leon Romanovsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).