PERFORCE change 46538 for review

John Baldwin jhb at FreeBSD.org
Thu Feb 5 07:38:33 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=46538

Change 46538 by jhb at 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


More information about the p4-projects mailing list