aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYe Liu <liuye@kylinos.cn>2025-04-27 18:04:42 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-05-12 23:50:38 -0700
commita4b79af6c74c581f3f559bde8ae580a0545cfc96 (patch)
tree35bd21551fe264c25a3a71e4d8f387fb4185f10c /tools/perf/scripts/python
parentmm/debug_page_alloc: improve error message for invalid guardpage minorder (diff)
downloadlinux-a4b79af6c74c581f3f559bde8ae580a0545cfc96.tar.gz
linux-a4b79af6c74c581f3f559bde8ae580a0545cfc96.zip
mm/numa: remove unnecessary local variable in alloc_node_data()
The temporary local variable 'nd' is redundant. Directly assign the virtual address to node_data[nid] to simplify the code. No functional change. Link: https://lkml.kernel.org/r/20250427100442.958352-4-ye.liu@linux.dev Signed-off-by: Ye Liu <liuye@kylinos.cn> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org> Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com> Cc: Liam Howlett <liam.howlett@oracle.com> Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com> Cc: Rik van Riel <riel@surriel.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions