diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index f09a8d03220c..a886bbafa3a4 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -316,14 +316,6 @@ read_files(void) "files.%s", machinename); goto openit; } - if (first == 2) { - first++; - (void) snprintf(fname, sizeof(fname), - "files.%s", raisestr(ident)); - fp = fopen(fname, "r"); - if (fp != 0) - goto next; - } return; } if (wd == 0) @@ -346,15 +338,6 @@ read_files(void) else isdup = 0; tp = 0; - if (first == 3 && pf == 0 && (tp = fltail_lookup(this)) != 0) { - if (tp->f_type != INVISIBLE || tp->f_flags) - printf("%s: Local file %s overrides %s.\n", - fname, this, tp->f_fn); - else - printf("%s: Local file %s could override %s" - " with a different kernel configuration.\n", - fname, this, tp->f_fn); - } nreqs = 0; special = 0; depends = 0; diff --git a/usr.sbin/config/mkoptions.c b/usr.sbin/config/mkoptions.c index 4cfa0984bea9..db6343171887 100644 --- a/usr.sbin/config/mkoptions.c +++ b/usr.sbin/config/mkoptions.c @@ -319,13 +319,6 @@ read_options(void) (void) snprintf(fname, sizeof fname, "options.%s", machinename); goto openit; } - if (first == 2) { - first++; - (void) snprintf(fname, sizeof fname, "options.%s", raisestr(ident)); - fp = fopen(fname, "r"); - if (fp != 0) - goto next; - } return; } if (wd == 0)