From fd74d9dfff95c6cb463eef16878c683b36980242 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 12 Dec 1995 19:02:25 +0000 Subject: (S_tioctl_tiocgpgrp): Omit bogus extra attempt to lock global_lock. --- term/users.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/term/users.c b/term/users.c index c472f67c..eb56ee70 100644 --- a/term/users.c +++ b/term/users.c @@ -1340,8 +1340,6 @@ S_tioctl_tiocgpgrp (io_t port, return EOPNOTSUPP; } - mutex_lock (&global_lock); - mutex_lock (&global_lock); if (termflags & NO_OWNER) ret = ENOTTY; /* that's what BSD says... */ -- cgit v1.2.3