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)
commit4ded53ea0c7d46fa043efc7320e17ca443a1debb
tree1c19c4de9e2fedeaeb99bed4066f296c43497099
parent3123109284176b1532874591f7c81f3837bbdc17
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