Searched hist:"9 ac9322d7cfa35b5381a08c7eaed56eb2297377e" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | memory_hotplug.c | diff 9ac9322d7cfa35b5381a08c7eaed56eb2297377e Wed Jan 31 18:17:25 CST 2018 Oscar Salvador <osalvador@techadventures.net> mm: memory_hotplug: remove second __nr_to_section in register_page_bootmem_info_section()
In register_page_bootmem_info_section() we call __nr_to_section() in order to get the mem_section struct at the beginning of the function. Since we already got it, there is no need for a second call to __nr_to_section().
Link: http://lkml.kernel.org/r/20171207102914.GA12396@techadventures.net Signed-off-by: Oscar Salvador <osalvador@techadventures.net> Acked-by: Michal Hocko <mhocko@suse.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|