Skip to content

Commit

Permalink
mm-sparsemem-defer-the-ms-section_mem_map-clearing-fix
Browse files Browse the repository at this point in the history
remove now-unused local `ms', per Oscar

Cc: Baoquan He <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Pankaj Gupta <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Pavel Tatashin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Stephen Rothwell <[email protected]>
  • Loading branch information
akpm00 authored and sfrothwell committed Jul 22, 2018
1 parent 269484b commit 1ed35c7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mm/sparse-vmemmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,15 +292,12 @@ void __init sparse_mem_maps_populate_node(struct page **map_map,
}

for (pnum = pnum_begin; pnum < pnum_end; pnum++) {
struct mem_section *ms;

if (!present_section_nr(pnum))
continue;

map_map[pnum] = sparse_mem_map_populate(pnum, nodeid, NULL);
if (map_map[pnum])
continue;
ms = __nr_to_section(pnum);
pr_err("%s: sparsemem memory map backing failed some memory will not be available\n",
__func__);
}
Expand Down

0 comments on commit 1ed35c7

Please sign in to comment.