svn commit: r243412 - user/andre/tcp_workqueue/sys/net

Andre Oppermann andre at FreeBSD.org
Thu Nov 22 17:32:11 UTC 2012


Author: andre
Date: Thu Nov 22 17:32:10 2012
New Revision: 243412
URL: http://svnweb.freebsd.org/changeset/base/243412

Log:
  Remove bitrot linux and win32 ifdef from struct pfil_head.

Modified:
  user/andre/tcp_workqueue/sys/net/pfil.h

Modified: user/andre/tcp_workqueue/sys/net/pfil.h
==============================================================================
--- user/andre/tcp_workqueue/sys/net/pfil.h	Thu Nov 22 17:26:28 2012	(r243411)
+++ user/andre/tcp_workqueue/sys/net/pfil.h	Thu Nov 22 17:32:10 2012	(r243412)
@@ -80,13 +80,9 @@ struct pfil_head {
 	pfil_list_t	ph_out;
 	int		ph_type;
 	int		ph_nhooks;
-#if defined( __linux__ ) || defined( _WIN32 )
-	rwlock_t	ph_mtx;
-#else
 	struct rmlock	*ph_plock;	/* Pointer to the used lock */
 	struct rmlock	ph_lock;	/* Private lock storage */
 	int		flags;
-#endif
 	union {
 		u_long		phu_val;
 		void		*phu_ptr;


More information about the svn-src-user mailing list