$OpenBSD$

Index: mutex.c
--- mutex.c.orig
+++ mutex.c
@@ -59,7 +59,6 @@ benchmark_init()
 
 	(void) sprintf(lm_usage,
 	    "       [-t] (create dummy thread so we are multithreaded)\n"
-	    "       [-p] (use inter-process mutex (not support everywhere))\n"
 	    "       [-h usecs] (specify mutex hold time (default 0)\n"
 	    "notes: measures uncontended pthread_mutex_[un,]lock\n");
 
@@ -75,9 +74,6 @@ int
 benchmark_optswitch(int opt, char *optarg)
 {
 	switch (opt) {
-	case 'p':
-		optp = 1;
-		break;
 
 	case 't':
 		optt = 1;
@@ -121,9 +117,6 @@ benchmark_initrun()
 		errors++;
 	} else {
 		(void) pthread_mutexattr_init(&attr);
-		if (optp)
-			(void) pthread_mutexattr_setpshared(&attr,
-			    PTHREAD_PROCESS_SHARED);
 
 		if (pthread_mutex_init(lock, &attr) != 0)
 			errors++;
