diff options
| author | Filipe Manana <fdmanana@suse.com> | 2026-02-10 14:23:29 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-26 15:03:27 +0100 |
| commit | 8ac7fad32b93044f4350ab35f11fee1a61286723 (patch) | |
| tree | 74f9c11bb759d2c929d4d07425d26558be437329 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 912db40655684a0a427c8b118dd0c36eb5a61fe4 (diff) | |
btrfs: remove pointless WARN_ON() in cache_save_setup()
This WARN_ON(ret) is never executed since the previous if statement makes
us jump into the 'out_put' label when ret is not zero. The existing
transaction abort inside the if statement also gives us a stack trace,
so we don't need to move the WARN_ON(ret) into the if statement either.
Signed-off-by: Filipe Manana <fdmanana@suse.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
