patch-2.1.126 linux/drivers/video/fbcon.c

Next file: linux/drivers/video/fbmem.c
Previous file: linux/drivers/video/atyfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/drivers/video/fbcon.c linux/drivers/video/fbcon.c
@@ -1338,11 +1338,6 @@
     if (resize) {
 	/* reset wrap/pan */
 	p->var.xoffset = p->var.yoffset = p->yscroll = 0;
-	if (!p->dispsw->set_font || 
-	    !p->dispsw->set_font(p, fontwidth(p), fontheight(p))) {
-	    /* Adjust the virtual screen-size to fontheight*rows */
-	    p->var.yres_virtual = (p->var.yres/h)*h;
-	}
 	p->vrows = p->var.yres_virtual/h;
 	updatescrollmode(p);
 	vc_resize_con( p->var.yres/h, p->var.xres/w, unit );

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov