]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: remove redundant assignment to variable ret
authorColin Ian King <colin.i.king@gmail.com>
Wed, 21 Feb 2024 11:52:03 +0000 (11:52 +0000)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 14 Mar 2024 01:22:25 +0000 (21:22 -0400)
commit150194cdcb6b4305be41cd8af7a42dd2d1457ae1
tree72e274d04603a38f099f9dbae860f3263d526bf0
parentc7cad231e83606a3ad627d5c4503272435c962a4
bcachefs: remove redundant assignment to variable ret

Variable ret is being assigned a value that is never read, it is
being re-assigned a couple of statements later on. The assignment
is redundant and can be removed.

Cleans up clang scan build warning:
fs/bcachefs/super-io.c:806:2: warning: Value stored to 'ret' 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/super-io.c