diff options
| author | 2023-06-07 10:39:52 +0800 | |
|---|---|---|
| committer | 2023-06-19 16:19:04 -0700 | |
| commit | bd5f79ab39367665f40e10c2486aa15e7a841490 (patch) | |
| tree | b6a95b42cc799b2374f8b3f0c530e53567657688 /scripts/Makefile.thinlto | |
| parent | mm/hugetlb: use a folio in hugetlb_fault() (diff) | |
mm/sparse: remove unused parameters in sparse_remove_section()
These parameters ms and map_offset are not used in
sparse_remove_section(), so remove them.
The __remove_section() is only called by __remove_pages(), remove it. And
put the WARN_ON_ONCE() in sparse_remove_section().
Link: https://lkml.kernel.org/r/20230607023952.2247489-1-yajun.deng@linux.dev
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Oscar Salvador <osalvador@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
