> 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@xxxxxxxxxx> > --- > drivers/cdrom/cdrom.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Looks good to me, thanks for the patch, will send on for inclusion in 5.18. Signed-off-by: Phillip Potter <phil@xxxxxxxxxxxxxxxx> Regards, Phil