Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Feb 2004 07:38:30 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 46538 for review
Message-ID:  <200402051538.i15FcUfd046667@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=46538

Change 46538 by jhb@jhb_blue on 2004/02/05 07:37:34

	Shut this up.

Affected files ...

.. //depot/projects/smpng/sys/kern/subr_witness.c#112 edit

Differences ...

==== //depot/projects/smpng/sys/kern/subr_witness.c#112 (text+ko) ====

@@ -483,7 +483,7 @@
 witness_destroy(struct lock_object *lock)
 {
 	struct witness *w;
-#if 1
+#if 0
 	const char *name = NULL;
 #endif
 
@@ -500,7 +500,7 @@
 		mtx_lock_spin(&w_mtx);
 		MPASS(w->w_refcount > 0);
 		w->w_refcount--;
-#if 1
+#if 0
 		if (w->w_refcount == 0)
 			name = w->w_name;
 #endif
@@ -510,7 +510,7 @@
 		 */
 		if (w->w_refcount != 0 || depart(w))
 			mtx_unlock_spin(&w_mtx);
-#if 1
+#if 0
 		if (name != NULL)
 			printf("dead witness: %s\n", w->w_name);
 #endif



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