summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorMark Tinguely <tinguely@sgi.com>2013-09-12 16:01:23 +0200
committerBen Myers <bpm@sgi.com>2013-09-12 16:51:49 +0200
commit08474ed639e971e9d5a877cf7aba7ef91d847ae9 (patch)
tree519d3f7285658a8f03ce79583b3d33d158a2a10f /fs/xfs/xfs_log_recover.c
parentxfs: = vs == typo in ASSERT() (diff)
downloadlinux-08474ed639e971e9d5a877cf7aba7ef91d847ae9.tar.xz
linux-08474ed639e971e9d5a877cf7aba7ef91d847ae9.zip
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 <dan.carpenter@oracle.com> Signed-off-by: Mark Tinguely <tinguely@sgi.com> Reviewed-by: Ben Myers <bpm@sgi.com Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c3
1 files changed, 0 insertions, 3 deletions
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;
}
/*