diff options
| author | Massimiliano Pellizzer <mpellizzer.dev@gmail.com> | 2025-12-04 22:09:59 +0100 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 06:38:33 +0100 |
| commit | d7a5d511c098ed3e67912272c938627f04a1a9ad (patch) | |
| tree | 9aaac1785b4e58d22f41506623a3e0b165506758 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | e6698b34fab33867ef3faeeea6feb165f31aae24 (diff) | |
btrfs: remove dead assignment in prepare_one_folio()
In prepare_one_folio(), ret is initialized to 0 at declaration,
and in an error path we assign ret = 0 before jumping to the
again label to retry the operation. However, ret is immediately
overwritten by ret = set_folio_extent_mapped(folio) after the
again label.
Both assignments are never observed by any code path,
therefore they can be safely removed.
Signed-off-by: Massimiliano Pellizzer <mpellizzer.dev@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
