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:
jkim 2012-04-04 21:19:55 +00:00
parent cc107cbdf9
commit a390e7b468

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 */