aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYajun Deng <[email protected]>2023-06-07 10:39:52 +0800
committerAndrew Morton <[email protected]>2023-06-19 16:19:04 -0700
commitbd5f79ab39367665f40e10c2486aa15e7a841490 (patch)
treeb6a95b42cc799b2374f8b3f0c530e53567657688 /tools/perf/scripts/python
parent061e62e8180d3fab378a52d868e29ceebe2fe1d2 (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/[email protected] Signed-off-by: Yajun Deng <[email protected]> Reviewed-by: David Hildenbrand <[email protected]> Cc: Oscar Salvador <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions