[U-Boot] [PATCH v2] cmd_bdinfo: simplify local static funcs a bit

Wolfgang Denk wd at denx.de
Tue Dec 6 21:18:23 CET 2011


Dear Mike Frysinger,

In message <1323056722-22453-1-git-send-email-vapier at gentoo.org> you wrote:
> 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 at chromium.org>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> v2
> 	- rebased onto current master
> 
>  common/cmd_bdinfo.c |   89 ++++++++++++++++++---------------------------------
>  1 files changed, 31 insertions(+), 58 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I've seen it. It's rubbish."          - Marvin the Paranoid Android


More information about the U-Boot mailing list