svn commit: r367590 - head/sys/sys
Mark Johnston
markj at FreeBSD.org
Wed Nov 11 14:03:50 UTC 2020
Author: markj
Date: Wed Nov 11 14:03:49 2020
New Revision: 367590
URL: https://svnweb.freebsd.org/changeset/base/367590
Log:
Remove an extraneous parameter from SIGIO_ASSERT_LOCKED()
Reported by: hselasky
MFC with: r367588
Modified:
head/sys/sys/signalvar.h
Modified: head/sys/sys/signalvar.h
==============================================================================
--- head/sys/sys/signalvar.h Wed Nov 11 13:48:07 2020 (r367589)
+++ head/sys/sys/signalvar.h Wed Nov 11 14:03:49 2020 (r367590)
@@ -337,7 +337,7 @@ struct thread;
#define SIGIO_TRYLOCK() mtx_trylock(&sigio_lock)
#define SIGIO_UNLOCK() mtx_unlock(&sigio_lock)
#define SIGIO_LOCKED() mtx_owned(&sigio_lock)
-#define SIGIO_ASSERT_LOCKED(type) mtx_assert(&sigio_lock, MA_OWNED)
+#define SIGIO_ASSERT_LOCKED() mtx_assert(&sigio_lock, MA_OWNED)
extern struct mtx sigio_lock;
More information about the svn-src-head
mailing list