Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2012 21:19:56 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233892 - head/sys/dev/fb
Message-ID:  <201204042119.q34LJuYN025618@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Wed Apr  4 21:19:55 2012
New Revision: 233892
URL: http://svn.freebsd.org/changeset/base/233892

Log:
  Remove a useless warning.  The mode information is unused for very long time
  and this function may be used with VESA mode since r232069.

Modified:
  head/sys/dev/fb/vga.c

Modified: head/sys/dev/fb/vga.c
==============================================================================
--- head/sys/dev/fb/vga.c	Wed Apr  4 21:19:27 2012	(r233891)
+++ head/sys/dev/fb/vga.c	Wed Apr  4 21:19:55 2012	(r233892)
@@ -2160,10 +2160,6 @@ vga_save_state(video_adapter_t *adp, voi
 	    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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204042119.q34LJuYN025618>