usb: storage: sddr09: Remove a set-but-not-used variable
authorAugusto Mecking Caringi <augustocaringi@gmail.com>
Tue, 24 Jan 2017 18:11:23 +0000 (18:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:52:43 +0000 (10:52 +0100)
commit92190e365a28b0c15685a23750c20433902d026d
treef4d90e19649eb8599cd4dc49bfe09da8429642e9
parent1e572aa5686a6871eee7840e227f86e474cc7c2a
usb: storage: sddr09: Remove a set-but-not-used variable

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-variable]
int i, result, isnew;
                 ^

Signed-off-by: Augusto Mecking Caringi <augustocaringi@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/sddr09.c