--- zzzz-none-000/linux-2.6.39.4/scripts/dtc/flattree.c 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/scripts/dtc/flattree.c 2021-11-10 13:38:18.000000000 +0000 @@ -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);