aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2022-01-21 19:43:51 +0800
committerDavid Sterba <[email protected]>2022-03-14 13:13:47 +0100
commitc4bf190999953c26070a59172ed01b995521c5ed (patch)
treeca9eb772c16897758b6a3c6f7f82a2714a715ae9 /lib/memory-notifier-error-inject.c
parent823f8e5c1f06a050af61137f171d1f1966b0982c (diff)
btrfs: zoned: remove redundant initialization of to_add
to_add is being initialized to len but this is never read as to_add is overwritten later on. Remove the redundant initialization. Cleans up the following clang-analyzer warning: fs/btrfs/extent-tree.c:2769:8: warning: Value stored to 'to_add' during its initialization is never read [clang-analyzer-deadcode.DeadStores]. Reported-by: Abaci Robot <[email protected]> Reviewed-by: Nikolay Borisov <[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