bootconfig: remove redundant assignment in xbc_parse_array()

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/all/20260910163051.1973775-1-ekffu200098@gmail.com/

Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
This commit is contained in:
Sang-Heon Jeon 2026-09-11 01:30:48 +09:00 committed by Masami Hiramatsu (Google)
parent 2878d76d86
commit a57b5001e3

View File

@ -833,7 +833,6 @@ static int __init xbc_parse_array(char **__v)
return -ENOMEM;
*__v = next;
} while (c == ',');
node->child = 0;
return c;
}