Skip to content

Commit

Permalink
mm/bootmem.c: remove unused local `map'
Browse files Browse the repository at this point in the history
Signed-off-by: Daeseok Youn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
daeseokyoun authored and torvalds committed Nov 13, 2013
1 parent 807a1bd commit 4a099fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mm/bootmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,22 +172,22 @@ void __init free_bootmem_late(unsigned long physaddr, unsigned long size)
static unsigned long __init free_all_bootmem_core(bootmem_data_t *bdata)
{
struct page *page;
unsigned long start, end, pages, count = 0;
unsigned long *map, start, end, pages, count = 0;

if (!bdata->node_bootmem_map)
return 0;

map = bdata->node_bootmem_map;
start = bdata->node_min_pfn;
end = bdata->node_low_pfn;

bdebug("nid=%td start=%lx end=%lx\n",
bdata - bootmem_node_data, start, end);

while (start < end) {
unsigned long *map, idx, vec;
unsigned long idx, vec;
unsigned shift;

map = bdata->node_bootmem_map;
idx = start - bdata->node_min_pfn;
shift = idx & (BITS_PER_LONG - 1);
/*
Expand Down

0 comments on commit 4a099fb

Please sign in to comment.