8cf006
From c49af822e6713efff10f2911ce12e5cebcd028b5 Mon Sep 17 00:00:00 2001
8cf006
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
8cf006
Date: Mon, 16 Apr 2018 10:19:18 -0500
8cf006
Subject: [PATCH] Back out Kconfig
8cf006
8cf006
---
8cf006
 scripts/kconfig/conf.c | 14 ++------------
8cf006
 1 file changed, 2 insertions(+), 12 deletions(-)
8cf006
8cf006
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
8cf006
index 283eeed..4e08121 100644
8cf006
--- a/scripts/kconfig/conf.c
8cf006
+++ b/scripts/kconfig/conf.c
8cf006
@@ -422,18 +422,8 @@ static void check_conf(struct menu *menu)
8cf006
 		if (sym_is_changable(sym) ||
8cf006
 		    (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) {
8cf006
 			if (input_mode == listnewconfig) {
8cf006
-				if (sym->name) {
8cf006
-					const char *str;
8cf006
-
8cf006
-					if (sym->type == S_STRING) {
8cf006
-						str = sym_get_string_value(sym);
8cf006
-						str = sym_escape_string_value(str);
8cf006
-						printf("%s%s=%s\n", CONFIG_, sym->name, str);
8cf006
-						free((void *)str);
8cf006
-					} else {
8cf006
-						str = sym_get_string_value(sym);
8cf006
-						printf("%s%s=%s\n", CONFIG_, sym->name, str);
8cf006
-					}
8cf006
+				if (sym->name && !sym_is_choice_value(sym)) {
8cf006
+					printf("%s%s\n", CONFIG_, sym->name);
8cf006
 				}
8cf006
 			} else {
8cf006
 				if (!conf_cnt++)
8cf006
-- 
8cf006
2.14.3
8cf006