uboot/drivers/usb/gadget
Peng Fan 12ff19dbfd usb: gadget: dfu: discard dead code
Reported by Coverity:
Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach this statement:
(f_dfu->strings + --i).s = ....

If calloc failed, i is still 0 and no need to call free,
so discard the dead code.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: "Łukasz Majewski" <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
2016-05-06 20:06:56 +02:00
..
udc
Kconfig usb: gadget Move: CONFIG_G_DNL_* to Kconfig 2016-04-20 11:43:28 +02:00
Makefile usb: s3c-otg: Rename USB_GADGET_S3C_UDC_OTG* to USB_GADGET_DWC2_OTG* 2015-12-17 21:54:40 +01:00
at91_udc.c
at91_udc.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
atmel_usba_udc.c
atmel_usba_udc.h
bcm_udc_otg.h
bcm_udc_otg_phy.c usb: bcm_udc_otg: enable clocks 2016-04-10 17:18:43 +02:00
ci_udc.c usb:ci_udc: Remove ULPI setting for i.MX OTG controller 2016-01-16 07:06:55 +01:00
ci_udc.h
composite.c usb: gadget: composite: Correct recovery path for register 2016-03-01 14:47:26 +01:00
config.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
core.c
designware_udc.c
dwc2_udc_otg.c usb: gadget: dwc2_udc_otg: modified the check condition for max packet size of ep_in in high speed 2016-02-04 12:38:26 +01:00
dwc2_udc_otg_phy.c usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h 2015-12-17 21:54:41 +01:00
dwc2_udc_otg_priv.h usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h 2015-12-17 21:54:41 +01:00
dwc2_udc_otg_regs.h usb: s3c-otg: Rename remaining macros 2015-12-17 21:54:40 +01:00
dwc2_udc_otg_xfer_dma.c usb: s3c-otg: Fix remaining bytes in debug messages 2016-04-25 17:56:30 +02:00
ep0.c
ep0.h
epautoconf.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
ether.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
f_dfu.c usb: gadget: dfu: discard dead code 2016-05-06 20:06:56 +02:00
f_dfu.h
f_fastboot.c fastboot: Clean up bulk-out logic 2016-04-25 17:56:30 +02:00
f_mass_storage.c ums: support multiple LUNs at once 2016-01-13 21:05:19 -05:00
f_thor.c
f_thor.h
fotg210.c
g_dnl.c usb: gadget Move: CONFIG_G_DNL_* to Kconfig 2016-04-20 11:43:28 +02:00
gadget_chips.h Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mpc8xx_udc.c Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
ndis.h
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
rndis.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
rndis.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
storage_common.c ums: support multiple LUNs at once 2016-01-13 21:05:19 -05:00
usbstring.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00