diff options
| author | Kumar Gala <galak@kernel.crashing.org> | 2011-11-09 10:01:06 -0600 | 
|---|---|---|
| committer | Kumar Gala <galak@kernel.crashing.org> | 2011-11-11 07:48:59 -0600 | 
| commit | 67926c2a1d872deb12f21221e2a6d28ef575f956 (patch) | |
| tree | e60a28eafe4f0b1ba31bbcc96b560db22662969c /board/freescale/common/cds_pci_ft.c | |
| parent | e55d637a5f0aff493d6fa2af96ff31cd193b2822 (diff) | |
| download | olio-uboot-2014.01-67926c2a1d872deb12f21221e2a6d28ef575f956.tar.xz olio-uboot-2014.01-67926c2a1d872deb12f21221e2a6d28ef575f956.zip | |
board/freescale/common/cds_pci_ft.c: Fix GCC 4.6 build warning
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>
Diffstat (limited to 'board/freescale/common/cds_pci_ft.c')
| -rw-r--r-- | board/freescale/common/cds_pci_ft.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/board/freescale/common/cds_pci_ft.c b/board/freescale/common/cds_pci_ft.c index 6f221aff2..8a09f99cc 100644 --- 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) { |