Message ID | 1441880248-29315-3-git-send-email-paolo.pisati@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/video/fbdev/bcm2708_fb.c b/drivers/video/fbdev/bcm2708_fb.c index 06a96d1..fed0672 100644 --- a/drivers/video/fbdev/bcm2708_fb.c +++ b/drivers/video/fbdev/bcm2708_fb.c @@ -263,12 +263,6 @@ static int bcm2708_fb_check_var(struct fb_var_screeninfo *var, if (var->yoffset > var->yres_virtual - var->yres) var->yoffset = var->yres_virtual - var->yres - 1; - yres = var->yres; - if (var->vmode & FB_VMODE_DOUBLE) - yres *= 2; - else if (var->vmode & FB_VMODE_INTERLACED) - yres = (yres + 1) / 2; - return 0; }