[U-Boot] [PATCH 22/56] board/lwmon/pcmcia.c: Fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Mon Nov 7 22:12:50 CET 2011


Dear Wolfgang Denk,

In message <1320458160-23136-23-git-send-email-wd at denx.de> you wrote:
> Fix:
> pcmcia.c: In function 'pcmcia_hardware_enable':
> pcmcia.c:33:21: warning: variable 'cp' set but not used
> [-Wunused-but-set-variable]
> pcmcia.c:32:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> pcmcia.c: In function 'pcmcia_voltage_set':
> pcmcia.c:174:20: warning: variable 'immap' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/lwmon/pcmcia.c |    6 ------
>  1 files changed, 0 insertions(+), 6 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
He's dead, Jim
	-- McCoy, "The Devil in the Dark", stardate 3196.1


More information about the U-Boot mailing list