Commit 4ded53e
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>1 parent 3123109 commit 4ded53e
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | | - | |
1369 | 1368 | | |
1370 | 1369 | | |
1371 | 1370 | | |
| |||
1377 | 1376 | | |
1378 | 1377 | | |
1379 | 1378 | | |
1380 | | - | |
| 1379 | + | |
1381 | 1380 | | |
1382 | 1381 | | |
1383 | 1382 | | |
| |||
0 commit comments