Skip to content
Snippets Groups Projects
user avatar
Peng Fan authored
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: default avatarPeng Fan <van.freenix@gmail.com>
Cc: "Łukasz Majewski" <l.majewski@samsung.com>
Cc: Marek Vasut <marex@denx.de>
12ff19db
History
Name Last commit Last update
..
common
dwc3
emul
eth
gadget
host
musb-new
musb
phy
ulpi
Kconfig