aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXU pengfei <xupengfei@nfschina.com>2022-09-14 09:21:14 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 14:03:15 -0700
commit3259914f8cab1bab3fe691a90ac3c47411cb0aba (patch)
tree04398eb78c6b4e3c74233f425eeececa0eabdfff /tools/perf/scripts/python
parentmm/filemap: make folio_put_wait_locked static (diff)
downloadlinux-3259914f8cab1bab3fe691a90ac3c47411cb0aba.tar.gz
linux-3259914f8cab1bab3fe691a90ac3c47411cb0aba.zip
mm/hugetlb: remove unnecessary 'NULL' values from pointer
Pointer variables allocate memory first, and then judge. There is no need to initialize the assignment. Link: https://lkml.kernel.org/r/20220914012113.6271-1-xupengfei@nfschina.com Signed-off-by: XU pengfei <xupengfei@nfschina.com> Reviewed-by: Muchun Song <songmuchun@bytedance.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions