summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-29 18:10:39 +0000
committerpeter <peter@FreeBSD.org>2000-01-29 18:10:39 +0000
commit25c1fa20e1d188d3603f7b884702574141942b6b (patch)
tree4a2550cd4c79e59345d0a0087024255efa2ae703
parentc4b6cd7f5cb058bdcdc11f8fd5fd05e84d69fb2e (diff)
downloadFreeBSD-src-25c1fa20e1d188d3603f7b884702574141942b6b.zip
FreeBSD-src-25c1fa20e1d188d3603f7b884702574141942b6b.tar.gz
Remove #if NGIF > 0 and #if NFAITH > 0 as config already checks this.
-rw-r--r--sys/net/if_faith.c2
-rw-r--r--sys/net/if_gif.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/sys/net/if_faith.c b/sys/net/if_faith.c
index 60e871c..a4d5162 100644
--- a/sys/net/if_faith.c
+++ b/sys/net/if_faith.c
@@ -43,7 +43,6 @@
*/
#include "faith.h"
-#if NFAITH > 0
#include <sys/param.h>
#include <sys/systm.h>
@@ -94,4 +93,3 @@ faithattach(faith)
bpfattach(ifp, DLT_NULL, sizeof(u_int));
}
}
-#endif /* NFAITH > 0 */
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 3eaa703..22215cf 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -78,8 +78,6 @@
#include <net/net_osdep.h>
-#if NGIF > 0
-
void gifattach __P((void *));
/*
@@ -465,4 +463,3 @@ gif_ioctl(ifp, cmd, data)
bad:
return error;
}
-#endif /*NGIF > 0*/
OpenPOWER on IntegriCloud