commit | 387963a56ac1b61fe6e916e27784140732037b2a | [log] [tgz] |
---|---|---|
author | Martyn Welch <martyn.welch@collabora.com> | Sat Jan 26 02:31:52 2019 +0000 |
committer | Tom Rini <trini@konsulko.com> | Fri Feb 01 14:13:46 2019 -0500 |
tree | 7defa80709f6ee28be8597db355c2ac347395873 | |
parent | 67a6a370446bb4725a93565fab97d4a0e43daa61 [diff] |
tools: dumpimage: Simplify internal logic There are 3 supported modes of operation: 1) Show version 2) List image contents 3) Extract image component Option (1) terminates early, so only options (2) and (3) remain. Remove redundant check for these modes. Signed-off-by: Martyn Welch <martyn.welch@collabora.com>