diff options
author | Patrick Georgi <patrick@coreboot.org> | 2024-03-13 13:01:21 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-03 12:28:04 +0000 |
commit | 7761237dfe0c509fa4cae255b20fa4b1278cbca1 (patch) | |
tree | 949e8eafd32fd4bfb2a518f7cce4344ddf3c25e3 /util/kconfig/util.c | |
parent | 96499840aa3f5376ae8cfa1cefb6fd98800019a9 (diff) |
util/kconfig: Uprev to Linux 6.8's kconfig
Linux kconfig has its own implementation of KCONFIG_WERROR now, so use
that. This reduces our patch count by 2.
Change-Id: I4f5f1f552e96f8ef7a4c5c0ab2ab7e2b6d798ceb
Signed-off-by: Patrick Georgi <patrick@georgi.software>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81223
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/kconfig/util.c')
-rw-r--r-- | util/kconfig/util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/kconfig/util.c b/util/kconfig/util.c index 53e079e2e8..23b3d23317 100644 --- a/util/kconfig/util.c +++ b/util/kconfig/util.c @@ -42,8 +42,7 @@ struct gstr str_new(void) /* Free storage for growable string */ void str_free(struct gstr *gs) { - if (gs->s) - free(gs->s); + free(gs->s); gs->s = NULL; gs->len = 0; } |