diff options
author | rik <rik@FreeBSD.org> | 2007-03-25 20:21:31 +0000 |
---|---|---|
committer | rik <rik@FreeBSD.org> | 2007-03-25 20:21:31 +0000 |
commit | 7c1dc0e01b889e8d7c88d5ea8bb8c94a511981b1 (patch) | |
tree | 0a26ea8d73e9581bf35effa530e3b35e1f579da5 /sys | |
parent | e25b0dca53528b4c19d32acab174024a958c1ba7 (diff) | |
download | FreeBSD-src-7c1dc0e01b889e8d7c88d5ea8bb8c94a511981b1.zip FreeBSD-src-7c1dc0e01b889e8d7c88d5ea8bb8c94a511981b1.tar.gz |
Remove ancient preprocessor code. Fix module compilation.
Requested by: n_hibma
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ce/if_ce.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ce/if_ce.c b/sys/dev/ce/if_ce.c index 048a1a4..d06663a 100644 --- a/sys/dev/ce/if_ce.c +++ b/sys/dev/ce/if_ce.c @@ -69,13 +69,6 @@ __FBSDID("$FreeBSD$"); # include <net/if_types.h> # include <net/if_sppp.h> # define PP_CISCO IFF_LINK2 -# if __FreeBSD_version < 500000 -# include <bpf.h> -# define NBPFILTER NBPF -# else -# include "opt_bpf.h" -# define NBPFILTER DEV_BPF -# endif # include <net/bpf.h> #endif #include <dev/cx/machdep.h> @@ -844,10 +837,9 @@ static int ce_detach (device_t dev) if (! d || ! d->chan) continue; #ifndef NETGRAPH -#if __FreeBSD_version >= 410000 && NBPFILTER > 0 /* Detach from the packet filter list of interfaces. */ bpfdetach (d->ifp); -#endif + /* Detach from the sync PPP list. */ sppp_detach (d->ifp); |