aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mutex.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2001-09-26 00:05:18 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2001-09-26 00:05:18 +0000
commit21377ce065cf89d122c3499a7313a11d5c84161b (patch)
tree0a077f09caf3d9accdf108eba667115ba617eb32 /sys/kern/kern_mutex.c
parent6b12d30f287085d896d3a31e31cdc5b22ba1ac61 (diff)
downloadsrc-21377ce065cf89d122c3499a7313a11d5c84161b.tar.gz
src-21377ce065cf89d122c3499a7313a11d5c84161b.zip
Remove superflous parens after de-macroizing.
Notes
Notes: svn path=/head/; revision=83947
Diffstat (limited to 'sys/kern/kern_mutex.c')
-rw-r--r--sys/kern/kern_mutex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_mutex.c b/sys/kern/kern_mutex.c
index bd4f6d13fa09..8dc6a03f4baa 100644
--- a/sys/kern/kern_mutex.c
+++ b/sys/kern/kern_mutex.c
@@ -243,7 +243,7 @@ _mtx_unlock_flags(struct mtx *m, int opts, const char *file, int line)
{
MPASS(curthread != NULL);
- mtx_assert((m), MA_OWNED);
+ mtx_assert(m, MA_OWNED);
WITNESS_UNLOCK(&m->mtx_object, opts | LOP_EXCLUSIVE, file, line);
LOCK_LOG_LOCK("UNLOCK", &m->mtx_object, opts, m->mtx_recurse, file,
line);
@@ -266,7 +266,7 @@ _mtx_unlock_spin_flags(struct mtx *m, int opts, const char *file, int line)
{
MPASS(curthread != NULL);
- mtx_assert((m), MA_OWNED);
+ mtx_assert(m, MA_OWNED);
WITNESS_UNLOCK(&m->mtx_object, opts | LOP_EXCLUSIVE, file, line);
LOCK_LOG_LOCK("UNLOCK", &m->mtx_object, opts, m->mtx_recurse, file,
line);