Skip to contentSkip to conversation

cpu-remove-needless-return-in-void-api-suspend_enable_secondary_cpus.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Mar 17, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: cpu: remove needless return in void API suspend_enable_secondary_cpus()
has been removed from the -mm tree. Its filename was
cpu-remove-needless-return-in-void-api-suspend_enable_secondary_cpus.patch

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

------------------------------------------------------
From: Zijun Hu <[email protected]>
Subject: cpu: remove needless return in void API suspend_enable_secondary_cpus()
Date: Fri, 21 Feb 2025 05:02:07 -0800

Remove needless 'return' in void API suspend_enable_secondary_cpus() since both the API and thaw_secondary_cpus() are void functions.

---

 include/linux/cpu.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/cpu.h renamed from include/linux/cpu.h~cpu-remove-needless-return-in-void-api-suspend_enable_secondary_cpus +1 -1
@@ -148,7 +148,7 @@ static inline int suspend_disable_second
 }
 static inline void suspend_enable_secondary_cpus(void)
 {
-	return thaw_secondary_cpus();
+	thaw_secondary_cpus();
 }
 
 #else /* !CONFIG_PM_SLEEP_SMP */

_

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