summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/kconfig/regex.c5
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