summaryrefslogtreecommitdiffstats
path: root/tools/lib/perf/evsel.c
diff options
context:
space:
mode:
authorluo penghao <luo.penghao@zte.com.cn>2021-10-21 09:46:21 +0200
committerJens Axboe <axboe@kernel.dk>2021-10-21 16:23:09 +0200
commitbbc3925cf696422492ebdaba386e61450fa2294c (patch)
tree629c625e8572a5c781220440054862151e3da681 /tools/lib/perf/evsel.c
parentcdrom: docs: reformat table in Documentation/userspace-api/ioctl/cdrom.rst (diff)
downloadlinux-bbc3925cf696422492ebdaba386e61450fa2294c.tar.xz
linux-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 <zealci@zte.com.cn> Signed-off-by: luo penghao <luo.penghao@zte.com.cn> Link: https://lore.kernel.org/all/20211020024229.1036219-1-luo.penghao@zte.com.cn Signed-off-by: Phillip Potter <phil@philpotter.co.uk> Link: https://lore.kernel.org/r/20211021074621.901-1-phil@philpotter.co.uk Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/perf/evsel.c')
0 files changed, 0 insertions, 0 deletions