diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-12 22:56:56 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-01-12 22:56:56 +0000 |
commit | a5d05738ae43e2e031020d624324a0c18fbb758b (patch) | |
tree | 8df49dd31b01793a7674b4c6536ba79af3b0f6fd | |
parent | ca8f70d68a0159fa78c01fced2a40e472a905f88 (diff) |
Don't cast return value from splx to (void) because splx doesn't return anything.
-rw-r--r-- | sys/kern/kern_prot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index b9d15d1a797..2652e5fa10d 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_prot.c,v 1.18 2001/06/22 23:55:24 art Exp $ */ +/* $OpenBSD: kern_prot.c,v 1.19 2002/01/12 22:56:55 art Exp $ */ /* $NetBSD: kern_prot.c,v 1.33 1996/02/09 18:59:42 christos Exp $ */ /* @@ -575,7 +575,7 @@ crfree(cr) s = splimp(); /* ??? */ if (--cr->cr_ref == 0) FREE((caddr_t)cr, M_CRED); - (void) splx(s); + splx(s); } /* |