aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorMao Wenan <[email protected]>2019-08-22 07:05:57 +0000
committerFelipe Balbi <[email protected]>2019-08-28 10:04:59 +0000
commit566aacaf80b8ae0cb0e6bc3d11d49a36ab7f32ca (patch)
treeadb93a6de9008f50fc4a92b8ec5417142de9975a /drivers/usb/cdns3/cdns3-pci-wrap.c
parentusb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driv... (diff)
downloadkernel-566aacaf80b8ae0cb0e6bc3d11d49a36ab7f32ca.tar.gz
kernel-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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions