Skip to contentSkip to conversation

percpu-remove-unnecessary-return-in-pcpu_populate_pte.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Oct 7

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: percpu: remove unnecessary return in pcpu_populate_pte()
has been removed from the -mm tree. Its filename was
percpu-remove-unnecessary-return-in-pcpu_populate_pte.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Sang-Heon Jeon <[email protected]>
Subject: percpu: remove unnecessary return in pcpu_populate_pte()
Date: Wed, 2 Sep 2026 01:53:04 +0900

Since commit c6f239796b55 ("mm/memblock: add memblock_alloc_or_panic interface"), pcpu_populate_pte() no longer has an error label after the return statement, so the return statement has no effect.

Remove unnecessary return.

No functional change.

---

 mm/percpu.c |    2 --
 1 file changed, 2 deletions(-)
mm/percpu.c renamed from mm/percpu.c~percpu-remove-unnecessary-return-in-pcpu_populate_pte +0 -2
@@ -3178,8 +3178,6 @@ void __init __weak pcpu_populate_pte(uns
 		new = memblock_alloc_or_panic(PTE_TABLE_SIZE, PTE_TABLE_SIZE);
 		pmd_populate_kernel(&init_mm, pmd, new);
 	}
-
-	return;
 }
 
 /**

_

Patches currently in -mm which might be from [email protected] are

mm-swapops-remove-unused-is_hwpoison_entry.patch bootconfig-remove-redundant-assignment-in-xbc_parse_array.patch init-mainc-remove-unreachable-check-in-obsolete_checksetup.patch