Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2012 09:27:53 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r232149 - projects/pf/head/sys/contrib/pf/net
Message-ID:  <201202250927.q1P9RrFV009724@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202250927.q1P9RrFV009724>