Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2020 14:03:50 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r367590 - head/sys/sys
Message-ID:  <202011111403.0ABE3o8N060471@repo.freebsd.org>

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



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