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>
This commit is contained in:
parent
dbe128a9bd
commit
ebba0d4bc5
|
@ -348,7 +348,7 @@ phys_size_t fixed_sdram(void)
|
||||||
void
|
void
|
||||||
ft_board_setup(void *blob, bd_t *bd)
|
ft_board_setup(void *blob, bd_t *bd)
|
||||||
{
|
{
|
||||||
int node, tmp[2];
|
int node;
|
||||||
#ifdef CONFIG_PCI
|
#ifdef CONFIG_PCI
|
||||||
const char *path;
|
const char *path;
|
||||||
#endif
|
#endif
|
||||||
|
@ -356,7 +356,6 @@ ft_board_setup(void *blob, bd_t *bd)
|
||||||
ft_cpu_setup(blob, bd);
|
ft_cpu_setup(blob, bd);
|
||||||
|
|
||||||
node = fdt_path_offset(blob, "/aliases");
|
node = fdt_path_offset(blob, "/aliases");
|
||||||
tmp[0] = 0;
|
|
||||||
if (node >= 0) {
|
if (node >= 0) {
|
||||||
#ifdef CONFIG_PCI
|
#ifdef CONFIG_PCI
|
||||||
path = fdt_getprop(blob, node, "pci0", NULL);
|
path = fdt_getprop(blob, node, "pci0", NULL);
|
||||||
|
|
Loading…
Reference in New Issue