diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-09-05 20:25:16 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2022-09-16 14:52:44 +0000 |
commit | 3541c31add6661188556d9d856fd7fb97d74201a (patch) | |
tree | f225619dc177b5dfc48e84032ab508a07653629d /util | |
parent | a3c287d7a3cd7dcdc3c81eeb0ad90712cfa93406 (diff) |
util/kconfig/regex.c: Remove leftover
coreboot doesn't support the MIPS architecture anymore.
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: I404d034949a7786d7971117081537baf27ff2e22
Reviewed-on: https://review.coreboot.org/c/coreboot/+/67353
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/kconfig/regex.c | 5 |
1 files changed, 0 insertions, 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 |