Author: sbruno Date: Mon Jan 9 23:41:10 2017 New Revision: 311837 URL: https://svnweb.freebsd.org/changeset/base/311837
Log: Remove unused mtx_held() macro. Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c ============================================================================== --- head/sys/net/iflib.c Mon Jan 9 22:49:35 2017 (r311836) +++ head/sys/net/iflib.c Mon Jan 9 23:41:10 2017 (r311837) @@ -447,10 +447,6 @@ struct iflib_rxq { static int enable_msix = 1; -#define mtx_held(m) (((m)->mtx_lock & ~MTX_FLAGMASK) != (uintptr_t)0) - - - #define CTX_ACTIVE(ctx) ((if_getdrvflags((ctx)->ifc_ifp) & IFF_DRV_RUNNING)) #define CTX_LOCK_INIT(_sc, _name) mtx_init(&(_sc)->ifc_mtx, _name, "iflib ctx lock", MTX_DEF) _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"