Skip to content

Commit 0e3d9ea

Browse files
josephhztorvalds
authored andcommitted
ocfs2: remove unneeded code in dlm_register_domain_handlers
The last goto statement is unneeded, so remove it. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent cdd09f4 commit 0e3d9ea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/ocfs2/dlm/dlmdomain.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,6 @@ static int dlm_register_domain_handlers(struct dlm_ctxt *dlm)
18461846
sizeof(struct dlm_exit_domain),
18471847
dlm_begin_exit_domain_handler,
18481848
dlm, NULL, &dlm->dlm_domain_handlers);
1849-
if (status)
1850-
goto bail;
18511849

18521850
bail:
18531851
if (status)

0 commit comments

Comments
 (0)