Skip to contentSkip to conversation

bootconfig-remove-redundant-assignment-in-xbc_parse_array.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Oct 7

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

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 <[email protected]>
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.

---

 lib/bootconfig.c |    1 -
 1 file changed, 1 deletion(-)
lib/bootconfig.c renamed from lib/bootconfig.c~bootconfig-remove-redundant-assignment-in-xbc_parse_array +0 -1
@@ -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 [email protected] are

mm-swapops-remove-unused-is_hwpoison_entry.patch init-mainc-remove-unreachable-check-in-obsolete_checksetup.patch