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>
This commit is contained in:
parent
aa9e10409e
commit
08474ed639
|
@ -2995,9 +2995,6 @@ error:
|
|||
if (need_free)
|
||||
kmem_free(in_f);
|
||||
return XFS_ERROR(error);
|
||||
|
||||
xfs_buf_relse(bp);
|
||||
goto error;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue