Commit 3beb991e authored by arun c's avatar arun c Committed by Tony Lindgren

This patch removes a dead line from omapfb_main.c

This patch removes a dead line from omapfb_main.c
Signed-off-by: default avatararun c <arunedarath@mistralsolutions.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 38a0dd40
...@@ -559,7 +559,6 @@ static int set_fb_var(struct fb_info *fbi, ...@@ -559,7 +559,6 @@ static int set_fb_var(struct fb_info *fbi,
var->xoffset = var->xres_virtual - var->xres; var->xoffset = var->xres_virtual - var->xres;
if (var->yres + var->yoffset > var->yres_virtual) if (var->yres + var->yoffset > var->yres_virtual)
var->yoffset = var->yres_virtual - var->yres; var->yoffset = var->yres_virtual - var->yres;
line_size = var->xres * bpp / 8;
if (plane->color_mode == OMAPFB_COLOR_RGB444) { if (plane->color_mode == OMAPFB_COLOR_RGB444) {
var->red.offset = 8; var->red.length = 4; var->red.offset = 8; var->red.length = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment