Remove a useless warning. The mode information is unused for very long time

and this function may be used with VESA mode since r232069.
This commit is contained in:
Jung-uk Kim 2012-04-04 21:19:55 +00:00
parent 26a93551be
commit a3ad2822c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=233892

View file

@ -2160,10 +2160,6 @@ vga_save_state(video_adapter_t *adp, void *p, size_t size)
buf[1] = info.vi_height - 1; /* ROWS */
}
buf[2] = info.vi_cheight; /* POINTS */
} else {
/* XXX: shouldn't be happening... */
printf("vga%d: %s: failed to obtain mode info. (vga_save_state())\n",
adp->va_unit, adp->va_name);
}
#else
buf[0] = readb(BIOS_PADDRTOVADDR(0x44a)); /* COLS */