[U-Boot] [PATCH 2/2] Fix unused function in cmd_bdinfo.c

Wolfgang Denk wd at denx.de
Wed Dec 7 08:42:49 CET 2011


Dear Simon Glass,

In message <1323214637-5543-2-git-send-email-sjg at chromium.org> you wrote:
> It is fine to use __maybe_unused instead of #ifdef, but we also need one
> for print_eth() since not all boards have Ethernet. This fixes this
> warning:
> 
> cmd_bdinfo.c:39:13: warning: 'print_eth' defined but not used [-Wunused-function]
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>  common/cmd_bdinfo.c |    1 +
>  1 files changed, 1 insertions(+), 0 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
If I had to live my life again,  I'd  make  the  same  mistakes, only
sooner.                                          -- Tallulah Bankhead


More information about the U-Boot mailing list