svn commit: r257387 - user/ed/newcons/sys/dev/vt
Aleksandr Rybalko
ray at FreeBSD.org
Wed Oct 30 15:25:23 UTC 2013
Author: ray
Date: Wed Oct 30 15:25:23 2013
New Revision: 257387
URL: http://svnweb.freebsd.org/changeset/base/257387
Log:
o Remove extra check for status of processes who hold terminals.
o Clean up and comment things.
Sponsored by: The FreeBSD Foundation
Modified:
user/ed/newcons/sys/dev/vt/vt_core.c
Modified: user/ed/newcons/sys/dev/vt/vt_core.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/vt_core.c Wed Oct 30 14:48:46 2013 (r257386)
+++ user/ed/newcons/sys/dev/vt/vt_core.c Wed Oct 30 15:25:23 2013 (r257387)
@@ -701,14 +701,12 @@ vt_flush(struct vt_device *vd)
static void
vt_timer(void *arg)
{
- struct vt_device *vd = arg;
- unsigned int i;
+ struct vt_device *vd;
+ vd = arg;
+ /* Update screen if required. */
vt_flush(vd);
-
- for (i = 0; i < VT_MAXWINDOWS; i++)
- vt_proc_alive(vd->vd_windows[i]);
-
+ /* Schedule for next update. */
callout_schedule(&vd->vd_timer, hz / VT_TIMERFREQ);
}
More information about the svn-src-user
mailing list