diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-11-09 10:03:43 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-11 07:49:00 -0600 |
commit | ebba0d4bc5a0fd4eda2d19493a8a81f4f8a9497b (patch) | |
tree | 0c4991c7aa2a49dbb854d87e7456d7c7c4406e23 /board/sbc8560 | |
parent | dbe128a9bd60cb5a292c7daeec3a7a13f5d142b8 (diff) | |
download | u-boot-imx-ebba0d4bc5a0fd4eda2d19493a8a81f4f8a9497b.zip u-boot-imx-ebba0d4bc5a0fd4eda2d19493a8a81f4f8a9497b.tar.gz u-boot-imx-ebba0d4bc5a0fd4eda2d19493a8a81f4f8a9497b.tar.bz2 |
board/sbc8560/sbc8560.c: Fix GCC 4.6 build warning
Fix:
sbc8560.c: In function 'ft_board_setup':
sbc8560.c:351:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8560')
-rw-r--r-- | board/sbc8560/sbc8560.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/sbc8560/sbc8560.c b/board/sbc8560/sbc8560.c index c5fe92e..98bc7df 100644 --- a/board/sbc8560/sbc8560.c +++ b/board/sbc8560/sbc8560.c @@ -348,7 +348,7 @@ phys_size_t fixed_sdram(void) void ft_board_setup(void *blob, bd_t *bd) { - int node, tmp[2]; + int node; #ifdef CONFIG_PCI const char *path; #endif @@ -356,7 +356,6 @@ ft_board_setup(void *blob, bd_t *bd) ft_cpu_setup(blob, bd); node = fdt_path_offset(blob, "/aliases"); - tmp[0] = 0; if (node >= 0) { #ifdef CONFIG_PCI path = fdt_getprop(blob, node, "pci0", NULL); |