Skip to content
Commit d88af4da authored by Mike Frysinger's avatar Mike Frysinger Committed by Wolfgang Denk
Browse files

cmd_bdinfo: simplify local static funcs a bit



If we move the local funcs to the top of the file, and use the
__maybe_unused define, we can drop a lot of ugly ifdef logic and
duplicated prototypes.

Acked-by: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 5c45a22b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment