Module Name:    src
Committed By:   joerg
Date:           Sun Sep 22 14:59:07 UTC 2013

Modified Files:
        src/sys/kern: kern_mutex.c

Log Message:
Remove redundant declaration of MUTEX_CLEAR_WAITERS without checking if
any of the !__HAVE_SIMPLE_MUTEX architectures need it based on the
assumption that HPPA is the only member of that category.


To generate a diff of this commit:
cvs rdiff -u -r1.56 -r1.57 src/sys/kern/kern_mutex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_mutex.c
diff -u src/sys/kern/kern_mutex.c:1.56 src/sys/kern/kern_mutex.c:1.57
--- src/sys/kern/kern_mutex.c:1.56	Sun Sep 22 14:55:07 2013
+++ src/sys/kern/kern_mutex.c	Sun Sep 22 14:59:07 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_mutex.c,v 1.56 2013/09/22 14:55:07 skrll Exp $	*/
+/*	$NetBSD: kern_mutex.c,v 1.57 2013/09/22 14:59:07 joerg Exp $	*/
 
 /*-
  * Copyright (c) 2002, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #define	__MUTEX_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.56 2013/09/22 14:55:07 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_mutex.c,v 1.57 2013/09/22 14:59:07 joerg Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -218,12 +218,6 @@ MUTEX_RELEASE(kmutex_t *mtx)
 	MUTEX_INHERITDEBUG(new, mtx->mtx_owner);
 	mtx->mtx_owner = new;
 }
-
-static inline void
-MUTEX_CLEAR_WAITERS(kmutex_t *mtx)
-{
-	/* nothing */
-}
 #endif	/* __HAVE_SIMPLE_MUTEXES */
 
 /*

Reply via email to