summaryrefslogtreecommitdiffstats
path: root/lib/zlib
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-05-03 10:25:22 +0800
committerMarek Vasut <marex@denx.de>2016-05-06 20:06:56 +0200
commit12ff19dbfd93abdb62b7b326fee3f5bfa659a75e (patch)
tree9de667e11fc40a911dd7b2ed1351347d0c905472 /lib/zlib
parent5d8fae79163e94671956c99654abf48cf49757ba (diff)
downloadtalos-obmc-uboot-12ff19dbfd93abdb62b7b326fee3f5bfa659a75e.tar.gz
talos-obmc-uboot-12ff19dbfd93abdb62b7b326fee3f5bfa659a75e.zip
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>
Diffstat (limited to 'lib/zlib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud