aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorluo penghao <[email protected]>2021-10-21 07:46:21 +0000
committerJens Axboe <[email protected]>2021-10-21 14:23:09 +0000
commitbbc3925cf696422492ebdaba386e61450fa2294c (patch)
tree629c625e8572a5c781220440054862151e3da681 /fs/btrfs/dev-replace.c
parentcdrom: docs: reformat table in Documentation/userspace-api/ioctl/cdrom.rst (diff)
downloadkernel-bbc3925cf696422492ebdaba386e61450fa2294c.tar.gz
kernel-bbc3925cf696422492ebdaba386e61450fa2294c.zip
cdrom: Remove redundant variable and its assignment
Variable is not used in functions, and its assignment is redundant too. So it should be deleted. Also the inner-most set of parentheses is no longer needed. The clang_analyzer complains as follows: drivers/cdrom/cdrom.c:877: warning: Although the value stored to 'ret' is used in the enclosing expression, the value is never actually read from 'ret'. Reported-by: Zeal Robot <[email protected]> Signed-off-by: luo penghao <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Phillip Potter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions