The same code is executed when the condition "ret" is true or false, because the code in the if-then branch and after the if statement is identical.
Signed-off-by: Eryu Guan <[email protected]> --- cmds-check.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmds-check.c b/cmds-check.c index 118a274..a459893 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -6310,8 +6310,6 @@ static int record_extent(struct btrfs_trans_handle *trans, "start %llu len %llu parent %llu root %llu\n", rec->start, rec->max_size, parent, tback->root); } - if (ret) - goto fail; fail: btrfs_release_path(path); return ret; -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
