[merged mm-nonmm-stable] kernel-crash_corec-remove-redundant-check-of-ck_cmdline.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <sensor1010@xxxxxxx>
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.

Link: https://lkml.kernel.org/r/20220506104116.259323-1-sensor1010@xxxxxxx
Signed-off-by: lizhe <sensor1010@xxxxxxx>
Acked-by: Baoquan He <bhe@xxxxxxxxxx>
Acked-by: Philipp Rudo <prudo@xxxxxxxxxx>
Cc: Vivek Goyal <vgoyal@xxxxxxxxxx>
Cc: Dave Young <dyoung@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 kernel/crash_core.c |    3 ---
 1 file changed, 3 deletions(-)

--- a/kernel/crash_core.c~kernel-crash_corec-remove-redundant-check-of-ck_cmdline
+++ a/kernel/crash_core.c
@@ -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 sensor1010@xxxxxxx are





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux