Re: [PATCH] usb: storage: sddr09: Remove a set-but-not-used variable

2017-01-24 Thread Alan Stern
On Tue, 24 Jan 2017, Augusto Mecking Caringi wrote: > The 'isnew' variable in 'sddr09_write_lba' function is set but never > used. > > This has been detected by building the driver with W=1: > > drivers/usb/storage/sddr09.c: In function ‘sddr09_write_lba’: > drivers/usb/storage/sddr09.c:873:17:

[PATCH] usb: storage: sddr09: Remove a set-but-not-used variable

2017-01-24 Thread Augusto Mecking Caringi
The 'isnew' variable in 'sddr09_write_lba' function is set but never used. This has been detected by building the driver with W=1: drivers/usb/storage/sddr09.c: In function ‘sddr09_write_lba’: drivers/usb/storage/sddr09.c:873:17: warning: variable ‘isnew’ set but not used [-Wunused-but-set-variab