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

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

From: libaokun (A) <hidden>
Date: 2021-06-16 01:06:10
Also in: lkml

Thank you for your reminder.

Best Regards.


在 2021/6/16 5:45, Jens Axboe 写道:
On 5/29/21 12:17 AM, Baokun Li wrote:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help