svn commit: r269186 - head/sys/dev/vt

Aleksandr Rybalko ray at FreeBSD.org
Mon Jul 28 14:15:41 UTC 2014


Author: ray
Date: Mon Jul 28 14:15:41 2014
New Revision: 269186
URL: http://svnweb.freebsd.org/changeset/base/269186

Log:
  o Remove useless debug string.
  o Fix indent.
  
  MFC after:	1 week
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/vt/vt_core.c

Modified: head/sys/dev/vt/vt_core.c
==============================================================================
--- head/sys/dev/vt/vt_core.c	Mon Jul 28 14:14:33 2014	(r269185)
+++ head/sys/dev/vt/vt_core.c	Mon Jul 28 14:15:41 2014	(r269186)
@@ -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-head mailing list