aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBaolin Wang <[email protected]>2021-11-05 13:41:58 -0700
committerLinus Torvalds <[email protected]>2021-11-06 13:30:39 -0700
commit0739eb437f3d397eb39b5dc653aa250ee7b453f0 (patch)
tree2e7b944df7c7188066e97f8013a12c13671ee63d /tools/perf/scripts/python/event_analyzing_sample.py
parentaa6d2e8cba2dc6f1f3dd39f7a7cc8ac788ad6c1a (diff)
hugetlb: remove redundant validation in has_same_uncharge_info()
The callers of has_same_uncharge_info() has accessed the original file_region and new file_region, and they are impossible to be NULL now. So we can remove the file_region validation in has_same_uncharge_info() to simplify the code. Link: https://lkml.kernel.org/r/97fc68d3f8d34f63c204645e10d7a718997e50b7.1634797639.git.baolin.wang@linux.alibaba.com Signed-off-by: Baolin Wang <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Cc: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions