Skip to content

Commit

Permalink
board/freescale/common/cds_pci_ft.c: Fix GCC 4.6 build warning
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
kumargala committed Nov 11, 2011
1 parent e55d637 commit 67926c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions board/freescale/common/cds_pci_ft.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 67926c2

Please sign in to comment.