diff options
| author | Martyn Welch <martyn.welch@collabora.com> | 2019-01-26 02:31:52 +0000 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2019-02-01 14:13:46 -0500 |
| commit | 11e3c1fd3bd8fd0a91d502fa4742749f877867bb (patch) | |
| tree | 7defa80709f6ee28be8597db355c2ac347395873 /scripts/const_structs.checkpatch | |
| parent | 12b831879a765722c1a94ca75c6adb6f80759cd9 (diff) | |
| download | u-boot-11e3c1fd3bd8fd0a91d502fa4742749f877867bb.tar.gz u-boot-11e3c1fd3bd8fd0a91d502fa4742749f877867bb.tar.xz u-boot-11e3c1fd3bd8fd0a91d502fa4742749f877867bb.zip | |
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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
