summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1997-10-17 23:52:56 +0000
committerdg <dg@FreeBSD.org>1997-10-17 23:52:56 +0000
commitdeb21eac019d212ef94d2abdf7bdef1d554947b5 (patch)
treef16f288c82650178c0183bcef10180d1828a7c13 /sys/kern/kern_prot.c
parentb5e0a197bf2d3e00e36d9b393d582869b91ea8be (diff)
downloadFreeBSD-src-deb21eac019d212ef94d2abdf7bdef1d554947b5.zip
FreeBSD-src-deb21eac019d212ef94d2abdf7bdef1d554947b5.tar.gz
Killed non-sensical call to splimp/splx in crfree().
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 00978e2..9e338f1 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
- * $Id: kern_prot.c,v 1.34 1997/08/19 06:00:27 peter Exp $
+ * $Id: kern_prot.c,v 1.35 1997/10/12 20:23:54 phk Exp $
*/
/*
@@ -810,12 +810,8 @@ void
crfree(cr)
struct ucred *cr;
{
- int s;
-
- s = splimp(); /* ??? */
if (--cr->cr_ref == 0)
FREE((caddr_t)cr, M_CRED);
- (void) splx(s);
}
/*
OpenPOWER on IntegriCloud