diff options
author | Sahil Kang <sahil.kang@asilaycomputing.com> | 2017-05-17 03:33:45 -0700 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-19 18:25:59 +0200 |
commit | 0bef71093d4461659643ddcef431d88a078e0407 (patch) | |
tree | 3a2eee05e0849f39319001e071e05a41e218786f /fs/btrfs/reada.c | |
parent | e477094f0d3ce35b30d230bda3f31fc060cfe93b (diff) | |
download | linux-0bef71093d4461659643ddcef431d88a078e0407.tar.bz2 |
btrfs: Remove unnecessary branching in free-space-tree.c
Both btrfs_create_free_space_tree and btrfs_clear_free_space_tree
contain:
if (ret)
return ret;
return 0;
The if statement is only false when ret equals zero, and since we return
zero in such cases, we can safely remove the branching.
Signed-off-by: Sahil Kang <sahil.kang@asilaycomputing.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/reada.c')
0 files changed, 0 insertions, 0 deletions