]> git.baikalelectronics.ru Git - kernel.git/commit
cdrom: remove unused variable
authorEnze Li <lienze@kylinos.cn>
Fri, 1 Apr 2022 21:18:42 +0000 (22:18 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Apr 2022 14:47:52 +0000 (08:47 -0600)
commitca9147b59ec2bcb0bda1774ae22477d5a47f43a9
tree1c19c4de9e2fedeaeb99bed4066f296c43497099
parent6d94017b7b59bab528be97be158d0d602982e3a6
cdrom: remove unused variable

The clang static analyzer reports the following warning,

File: drivers/cdrom/cdrom.c
Warning: line 1380, column 7
 Although the value stored to 'status' is used in enclosing
 expression, the value is never actually read from 'status'

Remove the unused variable to eliminate the warning.

Signed-off-by: Enze Li <lienze@kylinos.cn>
Link: https://lore.kernel.org/all/20220401032623.293666-1-lienze@kylinos.cn
Signed-off-by: Phillip Potter <phil@philpotter.co.uk>
Link: https://lore.kernel.org/r/20220401211842.2088096-1-phil@philpotter.co.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/cdrom/cdrom.c