diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-01-16 12:07:23 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 19:27:10 +0100 |
commit | aead3428e8b7502942356a17f0882d28eb3ff0c3 (patch) | |
tree | cb6ddbdda6b9655a660e373bbd50062e4058cc5d /fs/bcachefs/dirent.h | |
parent | bcachefs: Improve trace_trans_restart_relock (diff) | |
download | linux-aead3428e8b7502942356a17f0882d28eb3ff0c3.tar.xz linux-aead3428e8b7502942356a17f0882d28eb3ff0c3.zip |
bcachefs: remove redundant variable tmp
The variable tmp is being assigned a value but it isn't being
read afterwards. The assignment is redundant and so tmp can be
removed.
Cleans up clang scan build warning:
warning: Although the value stored to 'ret' is used in the enclosing
expression, the value is never actually read from 'ret'
[deadcode.DeadStores]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/dirent.h')
0 files changed, 0 insertions, 0 deletions