Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Remove an splimp() that really has no purpose in life.
details: https://anonhg.NetBSD.org/src/rev/0ead215021db
branches: trunk
changeset: 508479:0ead215021db
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Apr 12 03:08:42 2001 +0000
description:
Remove an splimp() that really has no purpose in life.
diffstat:
sys/kern/kern_prot.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r f2c57854ff9d -r 0ead215021db sys/kern/kern_prot.c
--- a/sys/kern/kern_prot.c Thu Apr 12 03:06:03 2001 +0000
+++ b/sys/kern/kern_prot.c Thu Apr 12 03:08:42 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_prot.c,v 1.63 2000/12/09 07:17:32 mycroft Exp $ */
+/* $NetBSD: kern_prot.c,v 1.64 2001/04/12 03:08:42 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993
@@ -683,12 +683,9 @@
crfree(cr)
struct ucred *cr;
{
- int s;
- s = splimp(); /* ??? */
if (--cr->cr_ref == 0)
FREE((caddr_t)cr, M_CRED);
- (void) splx(s);
}
/*
Home |
Main Index |
Thread Index |
Old Index