From a92ddba7791d0adb2782a3087f37c4dd3bdae46c Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 27 Oct 2000 08:38:26 +0000 Subject: [PATCH] Remove #if DO_DEFLATE Remove #if DO_BSD_COMPRESS They are the wrong way to enable/disable features and undocumented to boot. --- sys/net/bsd_comp.c | 2 -- sys/net/ppp_deflate.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/sys/net/bsd_comp.c b/sys/net/bsd_comp.c index d5072cc11b7b..53b58528c552 100644 --- a/sys/net/bsd_comp.c +++ b/sys/net/bsd_comp.c @@ -52,7 +52,6 @@ #define PACKETPTR struct mbuf * #include -#if DO_BSD_COMPRESS /* * PPP "BSD compress" compression * The differences between this compression and the classic BSD LZW @@ -1110,4 +1109,3 @@ bsd_decompress(state, cmp, dmpp) return DECOMP_FATALERROR; #endif /* DEBUG */ } -#endif /* DO_BSD_COMPRESS */ diff --git a/sys/net/ppp_deflate.c b/sys/net/ppp_deflate.c index fdc0c64fbd23..d0e4c7b2f059 100644 --- a/sys/net/ppp_deflate.c +++ b/sys/net/ppp_deflate.c @@ -39,8 +39,6 @@ #define PACKETPTR struct mbuf * #include -#if DO_DEFLATE - #define DEFLATE_DEBUG 1 /* @@ -676,5 +674,3 @@ z_incomp(arg, mi) state->stats.unc_bytes += rlen; state->stats.unc_packets++; } - -#endif /* DO_DEFLATE */