summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-01-07 22:19:47 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-19 18:20:39 +0900
commit12e3342fc7b0ec7fcb03f41bb49a1a6e3dcc0663 (patch)
treeb7580f5bb9a35dc754def67b708c01577468fb8d /mm/swap.c
parentb401b621758e46812da61fa58a67c3fd8d91de0d (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