summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnshuman Khandual <anshuman.khandual@arm.com>2022-05-31 14:34:41 +0530
committerakpm <akpm@linux-foundation.org>2022-06-16 19:48:28 -0700
commit943189db4f3ed1445dd630dc0b96e115357c4330 (patch)
tree534d9c6702d4bd7bb8f9ed7521d563ef0f5bc1b4 /tools/perf/scripts/python
parent833de10ff58e230fba523ad618e17c93d33b6fa3 (diff)
downloadlinux-943189db4f3ed1445dd630dc0b96e115357c4330.tar.gz
linux-943189db4f3ed1445dd630dc0b96e115357c4330.zip
mm/memory_hotplug: drop 'reason' argument from check_pfn_span()
In check_pfn_span(), a 'reason' string is being used to recreate the caller function name, while printing the warning message. It is really unnecessary as the warning message could just be printed inside the caller depending on the return code. Currently there are just two callers for check_pfn_span() i.e __add_pages() and __remove_pages(). Let's clean this up. Link: https://lkml.kernel.org/r/20220531090441.170650-1-anshuman.khandual@arm.com Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com> Acked-by: Oscar Salvador <osalvador@suse.de> Reviewed-by: David Hildenbrand <david@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions