All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged mm-nonmm-stable] kernel-crash_corec-remove-redundant-check-of-ck_cmdline.patch removed from -mm tree
@ 2022-05-13 19:23 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-05-13 19:23 UTC (permalink / raw)
  To: mm-commits, vgoyal, prudo, dyoung, bhe, sensor1010, akpm


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@163.com>
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@163.com
Signed-off-by: lizhe <sensor1010@163.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Philipp Rudo <prudo@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@163.com are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-13 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 19:23 [merged mm-nonmm-stable] kernel-crash_corec-remove-redundant-check-of-ck_cmdline.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.