]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
This patch removes a dead line from omapfb_main.c
authorarun c <arunedarath@mistralsolutions.com>
Mon, 31 Mar 2008 06:52:48 +0000 (12:22 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 31 Mar 2008 10:45:00 +0000 (13:45 +0300)
This patch removes a dead line from omapfb_main.c

Signed-off-by: arun c <arunedarath@mistralsolutions.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
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;