From: Joseph Qi Date: Fri, 4 Sep 2015 22:44:00 +0000 (-0700) Subject: ocfs2: remove unneeded code in dlm_register_domain_handlers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0e3d9eafb86183a33efc42f0beff5afceebbafba;p=linux-beck.git ocfs2: remove unneeded code in dlm_register_domain_handlers The last goto statement is unneeded, so remove it. Signed-off-by: Joseph Qi Cc: Mark Fasheh Cc: Joel Becker Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ocfs2/dlm/dlmdomain.c b/fs/ocfs2/dlm/dlmdomain.c index 4f750701bd9a..019459b20aeb 100644 --- a/fs/ocfs2/dlm/dlmdomain.c +++ b/fs/ocfs2/dlm/dlmdomain.c @@ -1846,8 +1846,6 @@ static int dlm_register_domain_handlers(struct dlm_ctxt *dlm) sizeof(struct dlm_exit_domain), dlm_begin_exit_domain_handler, dlm, NULL, &dlm->dlm_domain_handlers); - if (status) - goto bail; bail: if (status)