]> Git Repo - linux.git/commitdiff
fs/ocfs2/cluster/tcp.c: remove unneeded break
authorTom Rix <[email protected]>
Tue, 15 Dec 2020 03:03:37 +0000 (19:03 -0800)
committerLinus Torvalds <[email protected]>
Tue, 15 Dec 2020 20:13:37 +0000 (12:13 -0800)
A break is not needed if it is preceded by a goto

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Tom Rix <[email protected]>
Acked-by: Joseph Qi <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: Junxiao Bi <[email protected]>
Cc: Changwei Ge <[email protected]>
Cc: Gang He <[email protected]>
Cc: Jun Piao <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ocfs2/cluster/tcp.c

index 79a23171946001193a550d404c5cf36814f5202a..3bd8119bed5e327fa3a7f3511500be473a6bb4be 100644 (file)
@@ -1198,7 +1198,6 @@ static int o2net_process_message(struct o2net_sock_container *sc,
                        msglog(hdr, "bad magic\n");
                        ret = -EINVAL;
                        goto out;
-                       break;
        }
 
        /* find a handler for it */
This page took 0.06405 seconds and 4 git commands to generate.