diff options
author | Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> | 2018-08-30 10:59:16 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-10-15 17:23:29 +0200 |
commit | 380fd06640a7afe972e45310012c3e22d9c4783d (patch) | |
tree | 14faf5bdb339dc3283d7de040ac14ca106ce9d55 /scripts | |
parent | e49aabd973fd0b3e8e949bd9e7e05acbb9008244 (diff) | |
download | linux-380fd06640a7afe972e45310012c3e22d9c4783d.tar.bz2 |
btrfs: remove redundant variable from btrfs_cross_ref_exist
Since commit d7df2c796d7e ("Btrfs attach delayed ref updates to delayed
ref heads"), check_delayed_ref() won't return -ENOENT.
In btrfs_cross_ref_exist(), two variables 'ret' and 'ret2' are
originally used to handle -ENOENT error case. Since the code is not
needed anymore, let's just remove 'ret2'.
Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions