Skip to content

Commit 342abe6

Browse files
committed
fb: Remove dimension check. It should be caught by set_par
1 parent cb53ea8 commit 342abe6

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎drivers/video/bcm2708_fb.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,6 @@ static int bcm2708_fb_check_var(struct fb_var_screeninfo *var,
265265
else if (var->vmode & FB_VMODE_INTERLACED)
266266
yres = (yres + 1) / 2;
267267

268-
if (var->xres * yres > 1920 * 1200) {
269-
pr_err("bcm2708_fb_check_var: ERROR: Pixel size >= 1920x1200; "
270-
"special treatment required! (TODO)\n");
271-
return -EINVAL;
272-
}
273-
274268
return 0;
275269
}
276270

0 commit comments

Comments
 (0)