linux/drivers/usb/gadget/legacy
zhengbin db0386312f usb: gadget: Remove set but not used variable 'opts' in msg_do_config
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/usb/gadget/legacy/mass_storage.c: In function msg_do_config:
drivers/usb/gadget/legacy/mass_storage.c:108:19: warning: variable opts set but not used [-Wunused-but-set-variable]

It is not used since commit f78bbcae86 ("usb: f_mass_storage:
test whether thread is running before starting another")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1570610434-68293-3-git-send-email-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-10 12:34:06 +02:00
..
acm_ms.c usb: gadget: Remove set but not used variable 'opts' in acm_ms_do_config 2019-10-10 12:34:06 +02:00
audio.c usb: Remove Blackfin references in USB support 2018-03-26 15:57:16 +02:00
cdc2.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
dbgp.c USB: add SPDX identifiers to all remaining files in drivers/usb/ 2017-11-04 11:48:02 +01:00
ether.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
g_ffs.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
gmidi.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
hid.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
inode.c vfs: Convert gadgetfs to use the new mount API 2019-07-04 22:01:59 -04:00
Kconfig usb: Fix Kconfig indentation 2019-10-04 14:09:41 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mass_storage.c usb: gadget: Remove set but not used variable 'opts' in msg_do_config 2019-10-10 12:34:06 +02:00
multi.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
ncm.c usb: gadget: compress return logic into one line 2018-01-22 15:34:37 +01:00
nokia.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
printer.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
serial.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00
tcm_usb_gadget.c usb: gadget: tcm: fix spelling mistake: "Manufactor" -> "Manufacturer" 2018-07-26 13:35:29 +03:00
webcam.c usb: gadget: uvc: Move trace parameter to function module 2018-07-26 13:33:48 +03:00
zero.c USB: gadget: legacy: Remove redundant license text 2017-11-07 15:45:02 +01:00