linux/drivers/usb
Lee Jones 768a074128 usb: dwc2: gadget: Remove assigned but never used 'maxsize'
The value of 'maxsize' has not been checked since commit 729cac693e
("usb: dwc2: Change ISOC DDMA flow") back in 2018, so remove the set but
unused variable, which fixes the following W=1 kernel build warning:

 drivers/usb/dwc2/gadget.c: In function ‘dwc2_gadget_fill_isoc_desc’:
 drivers/usb/dwc2/gadget.c:885:6: warning: variable ‘maxsize’ set but not used [-Wunused-but-set-variable]
 885 | u32 maxsize = 0;
 | ^~~~~~~

Cc: Minas Harutyunyan <hminas@synopsys.com>
Cc: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200702144625.2533530-11-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-03 10:20:11 +02:00
..
atm USB: atm: Use the correct style for SPDX License Identifier 2020-03-17 20:03:28 +01:00
c67x00 usb: c67x00: c67x00-sched: Demote obvious misuse of kerneldoc to standard comment blocks 2020-07-03 10:18:40 +02:00
cdns3 usb: cdns3: ep0: Move 'zlp' description to appropriate function header 2020-07-03 10:18:40 +02:00
chipidea USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
class usb: class: usbtmc: File headers are not good candidates for kerneldoc 2020-07-03 10:18:40 +02:00
common usb: common: ulpi: Fix a few kerneldoc related issues 2020-07-03 09:34:11 +02:00
core USB: Fix up terminology 2020-07-01 14:04:04 +02:00
dwc2 usb: dwc2: gadget: Remove assigned but never used 'maxsize' 2020-07-03 10:20:11 +02:00
dwc3 usb: dwc3: dwc3-of-simple: Function headers are not good candidates for kerneldoc 2020-07-03 10:18:40 +02:00
early kdb: Switch to use safer dbg_io_ops over console APIs 2020-06-26 15:40:16 +01:00
gadget USB: Fix up terminology 2020-07-01 14:04:04 +02:00
host usb: host: oxu210hp-hcd: Move declaration of 'qtd' into 'ifdef OXU_URB_TRACE' 2020-07-03 10:18:40 +02:00
image treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
isp1760 USB: isp1760: Use the correct style for SPDX License Identifier 2020-04-16 14:32:47 +02:00
misc Merge 5.8-rc3 into usb-next 2020-06-29 08:22:27 +02:00
mon USB: mon: Use scnprintf() for avoiding potential buffer overflow 2020-03-12 09:49:28 +01:00
mtu3 usb: mtu3: mtu3_core: Demote obvious misuse of kerneldoc to standard comment block 2020-07-03 10:18:40 +02:00
musb USB: ch9: add "USB_" prefix in front of TEST defines 2020-06-24 15:01:24 +02:00
phy USB: phy: fsl-usb: remove character device usage 2020-07-03 10:18:41 +02:00
renesas_usbhs usb: renesas_usbhs: getting residue from callback_result 2020-06-24 17:14:44 +02:00
roles usb: roles: Switch on role-switch uevent reporting 2020-05-13 14:20:49 +02:00
serial USB: Fix up terminology 2020-07-01 14:04:04 +02:00
storage USB: storage: scsi: fix up comment to be more specific 2020-06-19 08:58:53 +02:00
typec usb: typec: intel_pmc_mux: Add support for USB4 2020-07-01 14:06:25 +02:00
usbip treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile USB: Changes for v5.4 merge window 2019-09-02 19:20:57 +02:00
usb-skeleton.c USB: usb-skeleton: drop redundant in-urb check 2019-10-10 12:41:19 +02:00