aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2022-01-21 19:42:24 +0800
committerDavid Sterba <[email protected]>2022-03-14 13:13:47 +0100
commit5c07c53f2d273bda075cacf3d5e41a59cf634462 (patch)
treef4006291057dd96a11dc685f0b6c7d8f4045fee2 /lib/memory-notifier-error-inject.c
parentc4bf190999953c26070a59172ed01b995521c5ed (diff)
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 <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions