bcachefs: remove redundant initialization of pointer dst
authorColin Ian King <colin.i.king@gmail.com>
Tue, 12 Sep 2023 12:37:41 +0000 (13:37 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:13 +0000 (17:10 -0400)
commit519d6c884509b639c8102f4456ca91e354ae1205
treea7ed01935415a36bfc37bc754ff1ba0b1c50a17e
parent7cb0e6992e5c56c2751e08c8161203ba0566f510
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>
fs/bcachefs/disk_groups.c