summaryrefslogtreecommitdiff
path: root/kconfig/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'kconfig/conf.c')
-rw-r--r--kconfig/conf.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/kconfig/conf.c b/kconfig/conf.c
index b86c7de..67e3219 100644
--- a/kconfig/conf.c
+++ b/kconfig/conf.c
@@ -468,7 +468,6 @@ int main(int ac, char **av)
const char *progname = av[0];
int opt;
const char *name, *defconfig_file = NULL /* gcc uninit */;
- struct stat tmpstat;
int no_conf_write = 0;
tty_stdio = isatty(0) && isatty(1);
@@ -540,18 +539,6 @@ int main(int ac, char **av)
name = av[optind];
conf_parse(name);
//zconfdump(stdout);
- if (sync_kconfig) {
- name = conf_get_configname();
- if (stat(name, &tmpstat)) {
- fprintf(stderr, "***\n"
- "*** Configuration file \"%s\" not found!\n"
- "***\n"
- "*** Please configure with \"menuconfig\", or use a\n"
- "*** pre-existing sample (see list with \"list-samples\").\n"
- "***\n", name);
- exit(1);
- }
- }
switch (input_mode) {
case defconfig: