Skip to content

Commit

Permalink
xfs: remove dead code from xlog_recover_inode_pass2
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mark Tinguely <[email protected]>
Reviewed-by: Ben Myers <[email protected]
Signed-off-by: Ben Myers <[email protected]>
  • Loading branch information
Mark Tinguely authored and Ben Myers committed Sep 12, 2013
1 parent aa9e104 commit 08474ed
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/xfs/xfs_log_recover.c
Original file line number Diff line number Diff line change
Expand Up @@ -2995,9 +2995,6 @@ xlog_recover_inode_pass2(
if (need_free)
kmem_free(in_f);
return XFS_ERROR(error);

xfs_buf_relse(bp);
goto error;
}

/*
Expand Down

0 comments on commit 08474ed

Please sign in to comment.