]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/video/fbdev/aty/atyfb_base.c
video: fbdev: aty: remove useless variable assignments in aty_var_to_crtc()
[mirror_ubuntu-artful-kernel.git] / drivers / video / fbdev / aty / atyfb_base.c
index 11026e726b68468d2e8de7e159ad5003001b5610..3142d7f7020f0db37e16ed7abf7c6b21283f5eb9 100644 (file)
@@ -984,12 +984,6 @@ static int aty_var_to_crtc(const struct fb_info *info,
                v_total <<= 1;
        }
 
-       vdisplay = yres;
-#ifdef CONFIG_FB_ATY_GENERIC_LCD
-       if ((par->lcd_table != 0) && (crtc->lcd_gen_cntl & LCD_ON))
-               vdisplay  = par->lcd_height;
-#endif
-
        v_disp--;
        v_sync_strt--;
        v_sync_end--;