[U-Boot] [PATCH] sparc: fix unused variable warnings

Anatolij Gustschin agust at denx.de
Thu Dec 1 22:08:29 CET 2011


On Thu, 13 Oct 2011 01:44:10 -0400
Mike Frysinger <vapier at gentoo.org> wrote:

> Fix the build warnings:
> board.c: In function 'board_init_f':
> board.c:179:8: warning: unused variable 'e'
> board.c:178:6: warning: unused variable 'i'
> board.c:173:13: warning: unused variable 'cmdtp'
> bootm.c: In function 'do_bootm_linux':
> bootm.c:101:28: warning: unused variable 'kernend'
> bootm.c:101:15: warning: unused variable 'initrd_addr'
> bootm.c:100:26: warning: unused variable 'checksum'
> bootm.c:100:21: warning: unused variable 'len'
> bootm.c:100:15: warning: unused variable 'data'
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  arch/sparc/lib/board.c |    3 ---
>  arch/sparc/lib/bootm.c |    2 --
>  2 files changed, 0 insertions(+), 5 deletions(-)

Appied to u-boot-staging/agust at denx.de. Thanks!

Anatolij


More information about the U-Boot mailing list