Commit 3d07e35
btrfs: remove pointless return value update in btrfs_del_items()
The call to btrfs_del_leaf() can only return an error (negative value) or
zero (success). If we didn't get an error then 'ret' is zero, so it's
pointless to set it to zero again.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>1 parent e05be88 commit 3d07e35
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4589 | 4589 | | |
4590 | 4590 | | |
4591 | 4591 | | |
4592 | | - | |
4593 | 4592 | | |
4594 | 4593 | | |
4595 | 4594 | | |
| |||
0 commit comments