From 3541c31add6661188556d9d856fd7fb97d74201a Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 5 Sep 2022 20:25:16 +0200 Subject: [PATCH] util/kconfig/regex.c: Remove leftover coreboot doesn't support the MIPS architecture anymore. Signed-off-by: Elyes Haouas Change-Id: I404d034949a7786d7971117081537baf27ff2e22 Reviewed-on: https://review.coreboot.org/c/coreboot/+/67353 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth --- util/kconfig/regex.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/util/kconfig/regex.c b/util/kconfig/regex.c index d0e1d7b2f5..bde5f82443 100644 --- a/util/kconfig/regex.c +++ b/util/kconfig/regex.c @@ -3098,7 +3098,6 @@ typedef union /* Free everything we malloc. */ -#ifdef REGEX_MALLOC #define FREE_VAR(var) if (var) free (var); var = NULL #define FREE_VARIABLES() \ do { \ @@ -3113,10 +3112,6 @@ typedef union FREE_VAR (reg_dummy); \ FREE_VAR (reg_info_dummy); \ } while (0) -#else /* not REGEX_MALLOC */ -/* Some MIPS systems (at least) want this to free alloca'd storage. */ -#define FREE_VARIABLES() alloca (0) -#endif /* not REGEX_MALLOC */ /* These values must meet several constraints. They must not be valid