[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201019175216.2329-1-trix@redhat.com>
Date: Mon, 19 Oct 2020 10:52:16 -0700
From: trix@...hat.com
To: mark@...heh.com, jlbec@...lplan.org, joseph.qi@...ux.alibaba.com,
davem@...emloft.net, akpm@...ux-foundation.org,
willy@...radead.org, alex.shi@...ux.alibaba.com
Cc: ocfs2-devel@....oracle.com, linux-kernel@...r.kernel.org,
Tom Rix <trix@...hat.com>
Subject: [PATCH] fs: ocfs2 remove unneeded break
From: Tom Rix <trix@...hat.com>
A break is not needed if it is preceded by a goto
Signed-off-by: Tom Rix <trix@...hat.com>
---
fs/ocfs2/cluster/tcp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c
index 79a231719460..3bd8119bed5e 100644
--- a/fs/ocfs2/cluster/tcp.c
+++ b/fs/ocfs2/cluster/tcp.c
@@ -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 */
--
2.18.1
Powered by blists - more mailing lists