diff options
author | 2022-01-21 19:42:24 +0800 | |
---|---|---|
committer | 2022-03-14 13:13:47 +0100 | |
commit | 5c07c53f2d273bda075cacf3d5e41a59cf634462 (patch) | |
tree | f4006291057dd96a11dc685f0b6c7d8f4045fee2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: remove redundant initialization of to_add (diff) | |
download | linux-dev-5c07c53f2d273bda075cacf3d5e41a59cf634462.tar.xz linux-dev-5c07c53f2d273bda075cacf3d5e41a59cf634462.zip |
btrfs: scrub: remove redundant initialization of increment
increment is being initialized to map->stripe_len but this is never
read as increment is overwritten later on. Remove the redundant
initialization.
Cleans up the following clang-analyzer warning:
fs/btrfs/scrub.c:3193:6: warning: Value stored to 'increment' during its
initialization is never read [clang-analyzer-deadcode.DeadStores].
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions