WSL2-Linux-Kernel/drivers/usb
YueHaibing f271b966bf usb: cdns3: remove set but not used variable 'priv_dev'
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_init':
drivers/usb/cdns3/gadget.c:2665:23: warning:
 variable 'priv_dev' set but not used [-Wunused-but-set-variable]
drivers/usb/cdns3/gadget.c: In function cdns3_start_all_request:
drivers/usb/cdns3/gadget.c:357:24: warning:
 variable priv_req set but not used [-Wunused-but-set-variable]

They are never used, so can be removed.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190903120445.22204-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-03 15:46:46 +02:00
..
atm USB: atm: cxacru: convert to use dev_groups 2019-08-09 07:55:45 +02:00
c67x00 USB: add SPDX identifiers to all remaining Makefiles 2017-11-07 15:53:48 +01:00
cdns3 usb: cdns3: remove set but not used variable 'priv_dev' 2019-09-03 15:46:46 +02:00
chipidea Merge 5.3-rc7 into usb-next 2019-09-02 19:31:18 +02:00
class Merge 5.3-rc7 into usb-next 2019-09-02 19:31:18 +02:00
common usb: common: Simplify usb_decode_get_set_descriptor function. 2019-08-29 10:55:13 +03:00
core usb: remove commented out dma wrappers 2019-09-03 15:26:12 +02:00
dwc2 USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
dwc3 USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
early drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
gadget USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
host usb/ohci-tmio: remove the HCD_DMA flag 2019-09-03 15:26:05 +02:00
image scsi: usb: image: microtek: use sg helper to iterate over scatterlist 2019-06-20 15:21:32 -04:00
isp1760 usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
misc Merge 5.3-rc4 into usb-next 2019-08-12 07:42:51 +02:00
mon docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
mtu3 usb: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:29:18 +02:00
musb usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
phy USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
renesas_usbhs usb: add a HCD_DMA flag instead of guestimating DMA capabilities 2019-08-21 10:03:35 -07:00
roles device connection: Find connections also by checking the references 2019-06-03 10:55:38 +02:00
serial USB: serial: option: add the BroadMobi BM818 card 2019-08-15 13:46:22 +02:00
storage usb-storage: use hcd_uses_dma to check for DMA capabilities 2019-09-03 15:26:09 +02:00
typec Merge 5.3-rc7 into usb-next 2019-09-02 19:31:18 +02:00
usbip USB: usbip: convert to use dev_groups 2019-08-09 07:55:45 +02:00
Kconfig USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
Makefile USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
usb-skeleton.c usb: usb-skeleton: make comment block in line with coding style 2019-08-21 09:57:36 -07:00