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 <ye.xingchen@xxxxxxxxxx> 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. Link: https://lkml.kernel.org/r/20220929042936.22012-3-bhe@xxxxxxxxxx Signed-off-by: ye xingchen <ye.xingchen@xxxxxxxxxx> Signed-off-by: Baoquan He <bhe@xxxxxxxxxx> Reported-by: Zeal Robot <zealci@xxxxxxxxxx> Acked-by: Baoquan He <bhe@xxxxxxxxxx> Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> Cc: Chen Lifu <chenlifu@xxxxxxxxxx> Cc: "Eric W . Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Jianglei Nie <niejianglei2021@xxxxxxx> Cc: Li Chen <lchen@xxxxxxxxxxxxx> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx> Cc: Paul Mackerras <paulus@xxxxxxxxx> Cc: Petr Mladek <pmladek@xxxxxxxx> Cc: Russell King <linux@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec_core.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) --- a/kernel/kexec_core.c~kexec-remove-the-unneeded-result-variable +++ a/kernel/kexec_core.c @@ -561,23 +561,17 @@ static int kimage_add_entry(struct kimag static 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 ye.xingchen@xxxxxxxxxx are