Commit 12e3342f authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: remove unneeded buffer allocation in zconf_initscan()



In Kconfig, there is a stack to save the lexer state for each inclusion
level.

Currently, it operates as an empty stack, with the 'current_buf' always
pointing to an empty buffer. There is no need to preallocate the buffer.
Change it to a full stack.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent b401b621
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment