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
..
2015-07-22 08:57:54 +02:00
2016-02-06 12:00:59 +01:00
2014-09-24 18:30:29 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-05-06 20:06:56 +02:00
2016-04-25 17:56:30 +02:00
2016-05-02 18:37:09 -04:00
2011-02-19 20:32:37 +01:00
2016-01-19 08:31:21 -05:00
2016-01-19 08:31:21 -05:00
2016-02-06 12:00:59 +01:00