* [merged mm-nonmm-stable] bootconfig-remove-redundant-assignment-in-xbc_parse_array.patch removed from -mm tree
@ 2026-10-07 2:04 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-10-07 2:04 UTC (permalink / raw)
To: mm-commits, mhiramat, ekffu200098, akpm
The quilt patch titled
Subject: bootconfig: remove redundant assignment in xbc_parse_array()
has been removed from the -mm tree. Its filename was
bootconfig-remove-redundant-assignment-in-xbc_parse_array.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: Sang-Heon Jeon <ekffu200098@gmail.com>
Subject: bootconfig: remove redundant assignment in xbc_parse_array()
Date: Fri, 11 Sep 2026 01:30:48 +0900
After the loop, node is the last array value that xbc_add_child() added,
and xbc_parse_array() sets node->child to 0.
xbc_init_node() already set node->child to 0 when the value was
added, and node->child is not modified after that, so the assignment
is redundant.
So remove the assignment.
No functional change.
Link: https://lore.kernel.org/20260910163051.1973775-1-ekffu200098@gmail.com
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Masami Hiramatsu <mhiramat@kernel.org>
---
lib/bootconfig.c | 1 -
1 file changed, 1 deletion(-)
--- a/lib/bootconfig.c~bootconfig-remove-redundant-assignment-in-xbc_parse_array
+++ a/lib/bootconfig.c
@@ -836,7 +836,6 @@ static int __init xbc_parse_array(char *
return -ENOMEM;
*__v = next;
} while (c == ',');
- node->child = 0;
return c;
}
_
Patches currently in -mm which might be from ekffu200098@gmail.com are
mm-swapops-remove-unused-is_hwpoison_entry.patch
init-mainc-remove-unreachable-check-in-obsolete_checksetup.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-07 2:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-07 2:04 [merged mm-nonmm-stable] bootconfig-remove-redundant-assignment-in-xbc_parse_array.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.