diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-01-07 22:19:47 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-02-19 18:20:39 +0900 |
commit | 12e3342fc7b0ec7fcb03f41bb49a1a6e3dcc0663 (patch) | |
tree | b7580f5bb9a35dc754def67b708c01577468fb8d /mm/swap.c | |
parent | b401b621758e46812da61fa58a67c3fd8d91de0d (diff) |
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: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions