From 69be706a69a1c8ab9391280ebbc7e253fae663cc Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Thu, 7 Jan 2021 20:45:03 -0800 Subject: [PATCH] Remove redundant #ifndef NOETHER checks (#186) When the NOETHER checks were simplified, there remained some redundant #ifndef NOETHER within the #else of an #ifdef NOETHER. --- src/ldeether.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ldeether.c b/src/ldeether.c index 16708d2..688244b 100644 --- a/src/ldeether.c +++ b/src/ldeether.c @@ -38,7 +38,6 @@ char *devices[] = {"le0", "le1", "le2", "le3", "le4", "ie0", "ie1", "i #endif #endif /* USE_DLPI */ -#ifndef NOETHER #include #include #include @@ -66,8 +65,6 @@ char *devices[] = {"le0", "le1", "le2", "le3", "le4", "ie0", "ie1", "i #include #include -#endif /* NOETHER */ - int ether_fd = -1; /* file descriptor for ether socket */ int ether_intf_type = 0; /* IF type? from DLPI */ unsigned char ether_host[6] = {0, 0, 0, 0, 0, 0}; /* 48 bit address */ @@ -81,8 +78,6 @@ int main(int argc, char *argv[]) { struct strioctl si; #endif /* USE_DLPI */ -#ifndef NOETHER - /* Only do the ether kick=-start if we've got to. */ /* Kickstart program for the Lisp Development Environment (LDE). @@ -223,8 +218,6 @@ int main(int argc, char *argv[]) { seteuid(getuid()); } -#endif /* NOETHER */ - /* OK, right here do other stuff like scan args */ /* finally crank up LDE; first copy the original args */