From a3ad2822c4bc82491a4a112bfdc7a5806c2f07a0 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 4 Apr 2012 21:19:55 +0000 Subject: [PATCH] Remove a useless warning. The mode information is unused for very long time and this function may be used with VESA mode since r232069. --- sys/dev/fb/vga.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/fb/vga.c b/sys/dev/fb/vga.c index 598ea549b65a..78abb18590f1 100644 --- a/sys/dev/fb/vga.c +++ b/sys/dev/fb/vga.c @@ -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 */