Thread (4 messages) 4 messages, 2 authors, 2021-06-16

Re: [PATCH -next] ide-cd: fix warning: variable 'stat' set but not used

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-06-15 21:45:39
Also in: lkml

On 5/29/21 12:17 AM, Baokun Li wrote:
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/ide/ide-cd_ioctl.c: In function 'ide_cdrom_select_speed':
drivers/ide/ide-cd_ioctl.c:212:6: warning:
 variable ‘stat’ set but not used [-Wunused-but-set-variable]

It never used since introduction.
This code is being removed shortly, so better to just leave it alone.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help