kconfig: remove compat_getline()
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 2 Feb 2024 15:58:02 +0000 (00:58 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 19 Feb 2024 09:20:40 +0000 (18:20 +0900)
commitaa8427fb130f323e5e27dfe25dee9b514462dde7
tree001130269aa7806de1853d16bf88db62a7422c3a
parent17787468d4e73dc478738a4e6d2809d907c50c25
kconfig: remove compat_getline()

Commit 1a7a8c6fd8ca ("kconfig: allow long lines in config file") added
a self-implemented getline() for better portability.

However, getline() is standardized [1] and already used in other programs
such as scripts/kallsyms.c.

Use getline() provided by libc.

[1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getdelim.html

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/confdata.c