]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/omap/omapfb_main.c
This patch removes a dead line from omapfb_main.c
[linux-2.6-omap-h63xx.git] / drivers / video / omap / omapfb_main.c
index 139c84c047e4667164d81478c1cd9ba3b7637d83..418ed9fadd3a8c32356f7ddacd2a1e788d7fc1b3 100644 (file)
@@ -559,7 +559,6 @@ static int set_fb_var(struct fb_info *fbi,
                var->xoffset = var->xres_virtual - var->xres;
        if (var->yres + var->yoffset > var->yres_virtual)
                var->yoffset = var->yres_virtual - var->yres;
-       line_size = var->xres * bpp / 8;
 
        if (plane->color_mode == OMAPFB_COLOR_RGB444) {
                var->red.offset   = 8; var->red.length   = 4;