diff options
| author | Colin Ian King <colin.i.king@gmail.com> | 2023-09-12 13:37:41 +0100 |
|---|---|---|
| committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:13 -0400 |
| commit | 519d6c884509b639c8102f4456ca91e354ae1205 (patch) | |
| tree | a7ed01935415a36bfc37bc754ff1ba0b1c50a17e /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | bcachefs: remove redundant initialization of pointer d (diff) | |
| download | linux-519d6c884509b639c8102f4456ca91e354ae1205.tar.gz linux-519d6c884509b639c8102f4456ca91e354ae1205.zip | |
bcachefs: remove redundant initialization of pointer dst
The pointer dst is being initialized with a value that is never read,
it is being re-assigned later on when it is used in a while-loop
The initialization is redundant and can be removed.
Cleans up clang-scan build warning:
fs/bcachefs/disk_groups.c:186:30: warning: Value stored to 'dst' during
its initialization is never read [deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
