From: Mark Tinguely Date: Thu, 12 Sep 2013 14:01:23 +0000 (-0500) Subject: xfs: remove dead code from xlog_recover_inode_pass2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=08474ed639e971e9d5a877cf7aba7ef91d847ae9;p=linux-beck.git xfs: remove dead code from xlog_recover_inode_pass2 Additional code in the error handler of xlog_recover_inode_pass2() results in the following error: static checker warning: "fs/xfs/xfs_log_recover.c:2999 xlog_recover_inode_pass2() info: ignoring unreachable code." Reported-by: Dan Carpenter Signed-off-by: Mark Tinguely Reviewed-by: Ben Myers --- diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c index 1c3b0c9c9aac..dabda9521b4b 100644 --- a/fs/xfs/xfs_log_recover.c +++ b/fs/xfs/xfs_log_recover.c @@ -2995,9 +2995,6 @@ error: if (need_free) kmem_free(in_f); return XFS_ERROR(error); - - xfs_buf_relse(bp); - goto error; } /*