--- flattree.c.orig 2011-07-01 23:25:11.000000000 +0200 +++ flattree.c 2011-07-01 23:27:34.000000000 +0200 @@ -697,7 +697,6 @@ { struct reserve_info *reservelist = NULL; struct reserve_info *new; - const char *p; struct fdt_reserve_entry re; /* @@ -706,7 +705,6 @@ * * First pass, count entries. */ - p = inb->ptr; while (1) { flat_read_chunk(inb, &re, sizeof(re)); re.address = fdt64_to_cpu(re.address);