projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc202c5
)
RDMA/rxe: Fix redundant break statement in switch-case.
author
Rohit Chavan
<roheetchavan@gmail.com>
Tue, 22 Aug 2023 09:13:04 +0000
(14:43 +0530)
committer
Leon Romanovsky
<leon@kernel.org>
Tue, 22 Aug 2023 14:23:00 +0000
(17:23 +0300)
Removed unreachable break statement after return.
Signed-off-by: Rohit Chavan <roheetchavan@gmail.com>
Link:
https://lore.kernel.org/r/20230822091304.7312-1-roheetchavan@gmail.com
Acked-by: Zhu Yanjun <zyjzyj2000@gmail.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/rxe_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/sw/rxe/rxe_verbs.c
b/drivers/infiniband/sw/rxe/rxe_verbs.c
index 903f0b71447e6d059334962deeb71d4ba3a51819..48f86839d36a8ebba67c5371f9f73d3064b04185 100644
(file)
--- a/
drivers/infiniband/sw/rxe/rxe_verbs.c
+++ b/
drivers/infiniband/sw/rxe/rxe_verbs.c
@@
-798,7
+798,6
@@
static int init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr,
rxe_err_qp(qp, "unsupported wr opcode %d",
wr->opcode);
return -EINVAL;
- break;
}
}