Remove #if DO_DEFLATE

Remove #if DO_BSD_COMPRESS

They are the wrong way to enable/disable features and undocumented to boot.
This commit is contained in:
Poul-Henning Kamp 2000-10-27 08:38:26 +00:00
parent 4a3bb59944
commit a92ddba779
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67695
2 changed files with 0 additions and 6 deletions

View File

@ -52,7 +52,6 @@
#define PACKETPTR struct mbuf *
#include <net/ppp_comp.h>
#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 */

View File

@ -39,8 +39,6 @@
#define PACKETPTR struct mbuf *
#include <net/ppp_comp.h>
#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 */