u-boot/drivers/usb
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
..
common drivers:usb:common:fsl-dt-fixup: fix return value of fdt_usb_get_node_type 2016-04-10 17:18:43 +02:00
dwc3 usb: dwc3: Move CONFIG_USB_DWC3_PHY_* to Kconfig 2016-04-20 11:43:28 +02:00
emul usb: sandbox: Add a USB emulation driver 2015-11-19 20:27:52 -07:00
eth eth: asix88179: Print packet length properly 2016-04-01 17:18:10 -04:00
gadget usb: gadget: dfu: discard dead code 2016-05-06 20:06:56 +02:00
host usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA 2016-05-06 20:06:56 +02:00
musb Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
musb-new usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig 2016-04-20 11:43:27 +02:00
phy usb: xhci: omap: Remove common dwc3 drv functions calls 2015-07-22 08:55:44 +02:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig 2016-04-20 11:43:27 +02:00