diff options
| author | Anshuman Khandual <[email protected]> | 2022-05-31 14:34:41 +0530 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-06-16 19:48:28 -0700 |
| commit | 943189db4f3ed1445dd630dc0b96e115357c4330 (patch) | |
| tree | 534d9c6702d4bd7bb8f9ed7521d563ef0f5bc1b4 /tools/perf/scripts/python | |
| parent | 833de10ff58e230fba523ad618e17c93d33b6fa3 (diff) | |
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/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Acked-by: Oscar Salvador <[email protected]>
Reviewed-by: David Hildenbrand <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions