summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-25 06:30:15 +0000
committerbde <bde@FreeBSD.org>1998-02-25 06:30:15 +0000
commite15b8a8b3af287f4ca10996099831d8f294394d3 (patch)
tree4a8bda5c5d6ec4f42ededa2199f4009fd7435274 /sys/kern/vfs_aio.c
parentdf1db50d545736650226e73a1f167e365c4dad3a (diff)
downloadFreeBSD-src-e15b8a8b3af287f4ca10996099831d8f294394d3.zip
FreeBSD-src-e15b8a8b3af287f4ca10996099831d8f294394d3.tar.gz
Removed a stale comment and staler code.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 683b99c..3f74014 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -13,7 +13,7 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: vfs_aio.c,v 1.22 1998/02/06 12:13:29 eivind Exp $
+ * $Id: vfs_aio.c,v 1.23 1998/02/09 06:09:28 eivind Exp $
*/
/*
@@ -1483,16 +1483,10 @@ aio_suspend(struct proc *p, struct aio_suspend_args *uap)
TIMESPEC_TO_TIMEVAL(&atv, &ts)
if (itimerfix(&atv))
return (EINVAL);
- /*
- * XXX this is not as careful as settimeofday() about minimising
- * interrupt latency. The hzto() interface is inconvenient as usual.
- */
s = splclock();
timevaladd(&atv, &time);
timo = hzto(&atv);
splx(s);
- if (timo == 0)
- timo = 1;
}
ki = p->p_aioinfo;
OpenPOWER on IntegriCloud