svn commit: r259988 - in stable: 10/sys/kern 9/sys/kern

Dimitry Andric dim at FreeBSD.org
Sat Dec 28 01:52:53 UTC 2013


Author: dim
Date: Sat Dec 28 01:52:52 2013
New Revision: 259988
URL: http://svnweb.freebsd.org/changeset/base/259988

Log:
  MFC r259876:
  
  In sys/kern/subr_witness.c, remove static function
  witness_lock_order_key_empty(), which is unused since r181695.

Modified:
  stable/10/sys/kern/subr_witness.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/9/sys/kern/subr_witness.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/10/sys/kern/subr_witness.c
==============================================================================
--- stable/10/sys/kern/subr_witness.c	Sat Dec 28 01:47:19 2013	(r259987)
+++ stable/10/sys/kern/subr_witness.c	Sat Dec 28 01:52:52 2013	(r259988)
@@ -305,13 +305,6 @@ witness_lock_type_equal(struct witness *
 }
 
 static __inline int
-witness_lock_order_key_empty(const struct witness_lock_order_key *key)
-{
-
-	return (key->from == 0 && key->to == 0);
-}
-
-static __inline int
 witness_lock_order_key_equal(const struct witness_lock_order_key *a,
     const struct witness_lock_order_key *b)
 {


More information about the svn-src-all mailing list