]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
cmd_bdinfo: simplify local static funcs a bit
authorMike Frysinger <vapier@gentoo.org>
Sun, 4 Dec 2011 17:45:22 +0000 (17:45 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 6 Dec 2011 20:12:43 +0000 (21:12 +0100)
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: Simon Glass <sjg@chromium.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

No differences found