Skip to contentSkip to conversation

kernel-crash_corec-remove-redundant-check-of-ck_cmdline.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message May 13, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kernel/crash_core.c: remove redundant check of ck_cmdline
has been removed from the -mm tree. Its filename was
kernel-crash_corec-remove-redundant-check-of-ck_cmdline.patch

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

------------------------------------------------------
From: lizhe <[email protected]>
Subject: kernel/crash_core.c: remove redundant check of ck_cmdline

At the end of get_last_crashkernel(), the judgement of ck_cmdline is obviously unnecessary and causes redundance, let's clean it up.

---

 kernel/crash_core.c |    3 ---
 1 file changed, 3 deletions(-)
kernel/crash_core.c renamed from kernel/crash_core.c~kernel-crash_corec-remove-redundant-check-of-ck_cmdline +0 -3
@@ -222,9 +222,6 @@ next:
 		p = strstr(p+1, name);
 	}
 
-	if (!ck_cmdline)
-		return NULL;
-
 	return ck_cmdline;
 }
 

_

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