Author: hselasky
Date: Wed Aug 19 13:28:50 2020
New Revision: 364389
URL: https://svnweb.freebsd.org/changeset/base/364389

Log:
  Fix for INVARIANTS build.
  
  The "name" argument is not present in the EPOCH(9) APIs in 12-stable as
  merged in r364381 .
  
  This is a direct commit.
  
  Sponsored by: Mellanox Technologies

Modified:
  stable/12/sys/kern/subr_epoch.c

Modified: stable/12/sys/kern/subr_epoch.c
==============================================================================
--- stable/12/sys/kern/subr_epoch.c     Wed Aug 19 13:23:52 2020        
(r364388)
+++ stable/12/sys/kern/subr_epoch.c     Wed Aug 19 13:28:50 2020        
(r364389)
@@ -208,8 +208,6 @@ epoch_alloc(int flags)
        epoch_t epoch;
        int i;
 
-       MPASS(name != NULL);
-
        if (__predict_false(!inited))
                panic("%s called too early in boot", __func__);
 
_______________________________________________
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"

Reply via email to