kexec-remove-the-unneeded-result-variable.patch removed from -mm tree
The quilt patch titled
Subject: kexec: remove the unneeded result variable
has been removed from the -mm tree. Its filename was
kexec-remove-the-unneeded-result-variable.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: ye xingchen <[email protected]>
Subject: kexec: remove the unneeded result variable
Date: Thu, 29 Sep 2022 12:29:34 +0800
Return the value kimage_add_entry() directly instead of storing it in another redundant variable.
Signed-off-by ye xingchen <[email protected]>
Signed-off-by Baoquan He <[email protected]>
Reported-by Zeal Robot <[email protected]>
Acked-by Baoquan He <[email protected]>
Cc Benjamin Herrenschmidt <[email protected]>
Cc Chen Lifu <[email protected]>
Cc "Eric W . Biederman" <[email protected]>
Cc Jianglei Nie <[email protected]>
Cc Li Chen <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Petr Mladek <[email protected]>
Cc Russell King <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/kexec_core.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)
kernel/kexec_core.c renamed from kernel/kexec_core.c~kexec-remove-the-unneeded-result-variable +2 -8
@@ -561,23 +561,17 @@ static int kimage_add_entry(struct kimagstatic int kimage_set_destination (struct kimage *image,unsigned long destination) { -int result; - destination &=PAGE_MASK ; - result =kimage_add_entry (image, destination |IND_DESTINATION ); -return result; +return kimage_add_entry (image, destination |IND_DESTINATION ); }static int kimage_add_page (struct kimage *image,unsigned long page) { -int result; - page &=PAGE_MASK ; - result =kimage_add_entry (image, page |IND_SOURCE ); -return result; +return kimage_add_entry (image, page |IND_SOURCE ); }
_
Patches currently in -mm which might be from [email protected] are