diff options
author | Rohit Chavan <roheetchavan@gmail.com> | 2023-08-22 12:13:04 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-08-22 17:23:00 +0300 |
commit | 6812e06999054792e13193666989dbdc01642625 (patch) | |
tree | 9ceba63593d017384ccf8b8b5a127cbbb4192ca5 /drivers/infiniband | |
parent | dc202c57e9a1423aed528e4b8dc949509cd32191 (diff) | |
download | linux-6812e06999054792e13193666989dbdc01642625.tar.xz |
RDMA/rxe: Fix redundant break statement in switch-case.
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c index 903f0b71447e..48f86839d36a 100644 --- 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; } } |