Skip to content

Commit 6812e06

Browse files
roheetchavanrleon
authored andcommitted
RDMA/rxe: Fix redundant break statement in switch-case.
Removed unreachable break statement after return. Signed-off-by: Rohit Chavan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Zhu Yanjun <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
1 parent dc202c5 commit 6812e06

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/infiniband/sw/rxe/rxe_verbs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ static int init_send_wr(struct rxe_qp *qp, struct rxe_send_wr *wr,
798798
rxe_err_qp(qp, "unsupported wr opcode %d",
799799
wr->opcode);
800800
return -EINVAL;
801-
break;
802801
}
803802
}
804803

0 commit comments

Comments
 (0)