aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorYe Liu <[email protected]>2025-04-27 10:04:42 +0000
committerAndrew Morton <[email protected]>2025-05-13 06:50:38 +0000
commita4b79af6c74c581f3f559bde8ae580a0545cfc96 (patch)
tree35bd21551fe264c25a3a71e4d8f387fb4185f10c /mm/mm_init.c
parentmm/debug_page_alloc: improve error message for invalid guardpage minorder (diff)
downloadkernel-a4b79af6c74c581f3f559bde8ae580a0545cfc96.tar.gz
kernel-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/[email protected] Signed-off-by: Ye Liu <[email protected]> Acked-by: David Hildenbrand <[email protected]> Reviewed-by: Mike Rapoport (Microsoft) <[email protected]> Reviewed-by: Anshuman Khandual <[email protected]> Cc: Liam Howlett <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Vlastimil Babka <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions