diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-10-09 16:40:34 +0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-10-22 10:39:04 +0300 |
commit | e804cd46b2a214ae5e02e20daf591934a23a66c6 (patch) | |
tree | ab61e57ebadce722f2a5a1e542a4339783045878 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 6973dbdd1c1f34cebf2b93ad0c9a1aba84c9c04a (diff) |
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>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions