summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2014-05-08 13:38:29 +0000
committerray <ray@FreeBSD.org>2014-05-08 13:38:29 +0000
commita333f6cfe13536ebcba8e0f85cc66d44828e40bb (patch)
treee5084488c774df0920a4da0d49e1c553f63aa2ee
parent4a170f05aac2077fa2f5ffeac81602b94665b996 (diff)
downloadFreeBSD-src-a333f6cfe13536ebcba8e0f85cc66d44828e40bb.zip
FreeBSD-src-a333f6cfe13536ebcba8e0f85cc66d44828e40bb.tar.gz
No need to assign fields required and checked on probe.
Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/dev/vt/hw/fb/vt_early_fb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/vt/hw/fb/vt_early_fb.c b/sys/dev/vt/hw/fb/vt_early_fb.c
index 8ca2338..64b2122 100644
--- a/sys/dev/vt/hw/fb/vt_early_fb.c
+++ b/sys/dev/vt/hw/fb/vt_early_fb.c
@@ -291,13 +291,6 @@ vt_efb_init(struct vt_device *vd)
/* Get pixel storage size. */
info->fb_bpp = info->fb_stride / info->fb_width * 8;
- /*
- * Early FB driver work with static window buffer 80x25, so reduce
- * size to 640x480.
- */
- info->fb_width = VT_FB_DEFAULT_WIDTH;
- info->fb_height = VT_FB_DEFAULT_HEIGHT;
-
#ifdef FDT
vt_efb_initialize(info, node);
#else
OpenPOWER on IntegriCloud