svn commit: r232149 - projects/pf/head/sys/contrib/pf/net
Gleb Smirnoff
glebius at FreeBSD.org
Sat Feb 25 09:27:53 UTC 2012
Author: glebius
Date: Sat Feb 25 09:27:52 2012
New Revision: 232149
URL: http://svn.freebsd.org/changeset/base/232149
Log:
Cleanup unneeded defines and includes.
Modified:
projects/pf/head/sys/contrib/pf/net/pf_lb.c
Modified: projects/pf/head/sys/contrib/pf/net/pf_lb.c
==============================================================================
--- projects/pf/head/sys/contrib/pf/net/pf_lb.c Sat Feb 25 09:14:17 2012 (r232148)
+++ projects/pf/head/sys/contrib/pf/net/pf_lb.c Sat Feb 25 09:27:52 2012 (r232149)
@@ -41,34 +41,20 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
-#include "opt_bpf.h"
#include "opt_pf.h"
-#ifdef DEV_BPF
-#define NBPFILTER DEV_BPF
-#else
-#define NBPFILTER 0
-#endif
-
#ifdef DEV_PFLOG
#define NPFLOG DEV_PFLOG
#else
#define NPFLOG 0
#endif
-#ifdef DEV_PFSYNC
-#define NPFSYNC DEV_PFSYNC
-#else
-#define NPFSYNC 0
-#endif
-
#ifdef DEV_PFLOW
#define NPFLOW DEV_PFLOW
#else
#define NPFLOW 0
#endif
-
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>
@@ -87,7 +73,6 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <net/if_types.h>
-#include <net/bpf.h>
#include <net/route.h>
#include <net/radix_mpath.h>
@@ -111,10 +96,6 @@ __FBSDID("$FreeBSD$");
#include <net/if_pflog.h>
#include <net/if_pflow.h>
-#if NPFSYNC > 0
-#include <net/if_pfsync.h>
-#endif /* NPFSYNC > 0 */
-
#ifdef INET6
#include <netinet/ip6.h>
#include <netinet/in_pcb.h>
More information about the svn-src-projects
mailing list