--- scripts/kconfig/confdata.c
+++ scripts/kconfig/confdata.c
@@ -1109,6 +1109,7 @@
 
 int conf_write_autoconf(int overwrite)
 {
+#if 0
 	struct symbol *sym;
 	const char *autoconf_name = conf_get_autoconfig_name();
 	int ret, i;
@@ -1142,6 +1143,7 @@
 				    &comment_style_pound);
 	if (ret)
 		return ret;
+#endif
 
 	return 0;
 }
