fiptool: remove always true conditional
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 15 Jan 2017 14:20:00 +0000 (23:20 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Jan 2017 04:21:21 +0000 (13:21 +0900)
commit67973fb4f73411e08f0de39fed0ca21f97de73eb
tree84b637d3ab31242bb06b7bb0ff57bac2b26ab3a3
parent40866aaf1c60b31d46b1b969598e3403a4d8a6c1
fiptool: remove always true conditional

The conditional

  if (desc != NULL)
          ...

is always true here because we assert it 6 lines above:

  assert(desc != NULL);

Remove the if-conditional and concatenate the printf() calls.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
tools/fiptool/fiptool.c