diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-10-09 16:40:34 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-10 12:34:06 +0200 |
commit | db0386312f294abccc472b90ee2bf940da12dd0d (patch) | |
tree | b8b472fcfdc973f5fc824023780a4af3df07340e /drivers/dio | |
parent | 29234e3bb557fbddc14a815bec6da5c9ceab37cc (diff) | |
download | linux-db0386312f294abccc472b90ee2bf940da12dd0d.tar.bz2 |
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 f78bbcae86e6 ("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>
Diffstat (limited to 'drivers/dio')
0 files changed, 0 insertions, 0 deletions