diff options
author | Mao Wenan <maowenan@huawei.com> | 2019-08-22 09:05:57 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-08-28 12:04:59 +0200 |
commit | 566aacaf80b8ae0cb0e6bc3d11d49a36ab7f32ca (patch) | |
tree | adb93a6de9008f50fc4a92b8ec5417142de9975a /drivers/usb/dwc3 | |
parent | usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driv... (diff) | |
download | linux-566aacaf80b8ae0cb0e6bc3d11d49a36ab7f32ca.tar.xz linux-566aacaf80b8ae0cb0e6bc3d11d49a36ab7f32ca.zip |
usb: udc: lpc32xx: remove set but not used 3 variables
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/usb/gadget/udc/lpc32xx_udc.c: In function ‘udc_protocol_cmd_r’:
drivers/usb/gadget/udc/lpc32xx_udc.c:744:6: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
drivers/usb/gadget/udc/lpc32xx_udc.c: In function ‘udc_handle_dma_ep’:
drivers/usb/gadget/udc/lpc32xx_udc.c:1994:14: warning: variable ‘epstatus’ set but not used [-Wunused-but-set-variable]
drivers/usb/gadget/udc/lpc32xx_udc.c: In function ‘udc_handle_ep0_setup’:
drivers/usb/gadget/udc/lpc32xx_udc.c:2200:22: warning: variable ‘wLength’ set but not used [-Wunused-but-set-variable]
It is not used since commit 90fccb529d24 ("usb: gadget: Gadget directory cleanup - group UDC drivers")
Signed-off-by: Mao Wenan <maowenan@huawei.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
0 files changed, 0 insertions, 0 deletions