svn commit: r270986 - stable/10/sys/dev/vt

Ed Maste emaste at FreeBSD.org
Tue Sep 2 21:50:15 UTC 2014


Author: emaste
Date: Tue Sep  2 21:50:14 2014
New Revision: 270986
URL: http://svnweb.freebsd.org/changeset/base/270986

Log:
  MFC r269186 by ray@: Remove useless debug string.
  
    Fix indent.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/sys/dev/vt/vt_core.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/vt/vt_core.c
==============================================================================
--- stable/10/sys/dev/vt/vt_core.c	Tue Sep  2 21:49:02 2014	(r270985)
+++ stable/10/sys/dev/vt/vt_core.c	Tue Sep  2 21:50:14 2014	(r270986)
@@ -2025,9 +2025,8 @@ vt_upgrade(struct vt_device *vd)
 		vd->vd_curwindow = vd->vd_windows[VT_CONSWINDOW];
 
 	if (!(vd->vd_flags & VDF_ASYNC)) {
-	/* Attach keyboard. */
-	vt_allocate_keyboard(vd);
-	DPRINTF(20, "%s: vd_keyboard = %d\n", __func__, vd->vd_keyboard);
+		/* Attach keyboard. */
+		vt_allocate_keyboard(vd);
 
 		/* Init 25 Hz timer. */
 		callout_init_mtx(&vd->vd_timer, &vd->vd_lock, 0);


More information about the svn-src-stable-10 mailing list