From 5cc762d4c0141cd53a4cc2deee0b3dbc1bdc984c Mon Sep 17 00:00:00 2001 From: Aleksandr Rybalko <ray@FreeBSD.org> Date: Mon, 28 Jul 2014 14:35:21 +0000 Subject: [PATCH] Remove special handling of console window size. It's done in vt_upgrade() for all windows. MFC after: 1 week Sponsored by: The FreeBSD Foundation --- sys/dev/vt/vt_core.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c index 845c7de70774..e4c8cb0196f5 100644 --- a/sys/dev/vt/vt_core.c +++ b/sys/dev/vt/vt_core.c @@ -2064,7 +2064,6 @@ void vt_allocate(struct vt_driver *drv, void *softc) { struct vt_device *vd; - struct winsize wsz; if (!vty_enabled(VTY_VT)) return; @@ -2125,11 +2124,6 @@ vt_allocate(struct vt_driver *drv, void *softc) } termcn_cnregister(vd->vd_windows[VT_CONSWINDOW]->vw_terminal); - - /* Update console window sizes to actual. */ - vt_winsize(vd, vd->vd_windows[VT_CONSWINDOW]->vw_font, &wsz); - terminal_set_winsize_blank(vd->vd_windows[VT_CONSWINDOW]->vw_terminal, - &wsz, 0, NULL); } void