projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55d637
)
board/freescale/common/cds_pci_ft.c: Fix GCC 4.6 build warning
author
Kumar Gala
<galak@kernel.crashing.org>
Wed, 9 Nov 2011 16:01:06 +0000
(10:01 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Fri, 11 Nov 2011 13:48:59 +0000
(07:48 -0600)
Fix:
cds_pci_ft.c: In function 'cds_pci_fixup':
cds_pci_ft.c:31:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/cds_pci_ft.c
patch
|
blob
|
history
diff --git
a/board/freescale/common/cds_pci_ft.c
b/board/freescale/common/cds_pci_ft.c
index 6f221aff26fcfa79969fb563c128850cbbd01e3c..8a09f99cc4e7e852ea79cc0454269d9efde3b681 100644
(file)
--- a/
board/freescale/common/cds_pci_ft.c
+++ b/
board/freescale/common/cds_pci_ft.c
@@
-28,13
+28,12
@@
#if defined(CONFIG_OF_BOARD_SETUP)
static void cds_pci_fixup(void *blob)
{
- int node
, tmp[2]
;
+ int node;
const char *path;
int len, slot, i;
u32 *map = NULL;
node = fdt_path_offset(blob, "/aliases");
- tmp[0] = 0;
if (node >= 0) {
path = fdt_getprop(blob, node, "pci0", NULL);
if (path) {