diff options
| author | Lukas Bulwahn <[email protected]> | 2020-12-14 19:07:01 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-12-15 12:13:40 -0800 |
| commit | fe6960cb387ff644ec9a1d19e7179e1a29df885e (patch) | |
| tree | f597c11b1237f8b396fd6097506080e24627b88a /tools/perf/scripts/python/flamegraph.py | |
| parent | 13064781304eb544066b9da403c95d05c0ea3624 (diff) | |
mm: memcg: remove obsolete memcg_has_children()
Commit 2ef1bf118c40 ("mm: memcg: deprecate the non-hierarchical mode")
removed the only use of memcg_has_children() in
mem_cgroup_hierarchy_write() as part of the feature deprecation.
Hence, since then, make CC=clang W=1 warns:
mm/memcontrol.c:3421:20: warning: unused function 'memcg_has_children' [-Wunused-function]
Simply remove this obsolete unused function.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Lukas Bulwahn <[email protected]>
Acked-by: Roman Gushchin <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Acked-by: Michal Hocko <[email protected]>
Cc: Johannes Weiner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions