[U-Boot] [PATCH] 4xx_uart.c: fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Thu Nov 3 20:39:52 CET 2011


Dear Wolfgang Denk,

In message <1319917072-14163-1-git-send-email-wd at denx.de> you wrote:
> Fix:
> 4xx_uart.c: In function 'get_serial_clock':
> 4xx_uart.c:204:6: warning: variable 'tmp' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> ---
>  arch/powerpc/cpu/ppc4xx/4xx_uart.c |   26 ++++++++++++++------------
>  1 files changed, 14 insertions(+), 12 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 can call spirits from the vasty deep."
"Why so can I, or so can any man; but will they come when you do call
for them?"          - Shakespeare, 1 King Henry IV, Act III, Scene I.


More information about the U-Boot mailing list