aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorPintu Kumar <[email protected]>2024-09-27 23:46:37 +0530
committerAndrew Morton <[email protected]>2024-11-05 16:56:30 -0800
commit1fa00a568d113db279f683f40636cf72cf73a55d (patch)
treea005177a18beefc8927e715712826d4b20c1b187 /tools/perf/scripts/python/mem-phys-addr.py
parentd3db2c0425915f6b0f273770feee2e2f97dba6a3 (diff)
mm/cma: fix useless return in void function
There is a unnecessary return statement at the end of void function cma_activate_area. This can be dropped. While at it, also fix another warning related to unsigned. These are reported by checkpatch as well. WARNING: Prefer 'unsigned int' to bare use of 'unsigned' +unsigned cma_area_count; WARNING: void function return statements are not generally useful + return; +} Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Pintu Kumar <[email protected]> Cc: Pintu Agarwal <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions