summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-02-13 20:59:16 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-02-13 20:59:16 +0000
commit480ea3fe0ef7f9f61b8287a36f944b71df3fa98a (patch)
tree72ccb8901020e8b15848cd0cfcecdfde37501b3b /sys/kern
parentfb588bf74d5cd70282a084f4986770056955d2a5 (diff)
No need to cast splx to (void).
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_ntptime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_ntptime.c b/sys/kern/kern_ntptime.c
index 9768d0e7aec..495a69c330a 100644
--- a/sys/kern/kern_ntptime.c
+++ b/sys/kern/kern_ntptime.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_ntptime.c,v 1.8 1998/08/27 05:00:22 deraadt Exp $ */
+/* $OpenBSD: kern_ntptime.c,v 1.9 2001/02/13 20:59:15 art Exp $ */
/* $NetBSD: kern_ntptime.c,v 1.2 1996/03/07 14:31:20 christos Exp $ */
/******************************************************************************
@@ -140,7 +140,7 @@ sys_ntp_gettime(p, v, retval)
ntv.time = atv;
ntv.maxerror = time_maxerror;
ntv.esterror = time_esterror;
- (void) splx(s);
+ splx(s);
error = copyout((caddr_t)&ntv, (caddr_t)SCARG(uap, ntvp),
sizeof (ntv));
@@ -265,7 +265,7 @@ sys_ntp_adjtime(p, v, retval)
ntv.jitcnt = pps_jitcnt;
ntv.stbcnt = pps_stbcnt;
#endif /* PPS_SYNC */
- (void)splx(s);
+ splx(s);
error = copyout((caddr_t)&ntv, (caddr_t)SCARG(uap, tp), sizeof(ntv));
if (!error) {