From: Daeseok Youn <daeseok.youn@gmail.com>
Date: Tue, 10 Feb 2015 22:09:18 +0000 (-0800)
Subject: ocfs2: remove unreachable code in __ocfs2_recovery_thread()
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9d6008c759b6fbca16a5adefdb3477d87fe4a15b;p=linux.git

ocfs2: remove unreachable code in __ocfs2_recovery_thread()

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.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>
---

diff --git a/fs/ocfs2/journal.c b/fs/ocfs2/journal.c
index 4f502382180f6..d10860fde1654 100644
--- a/fs/ocfs2/journal.c
+++ b/fs/ocfs2/journal.c
@@ -1447,7 +1447,6 @@ bail:
 	 * requires that we call do_exit().  And it isn't exported, but
 	 * complete_and_exit() seems to be a minimal wrapper around it. */
 	complete_and_exit(NULL, status);
-	return status;
 }
 
 void ocfs2_recovery_thread(struct ocfs2_super *osb, int node_num)