aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/vt8500lcdfb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c
index ffaf29eeaaba..1a1176bf0906 100644
--- a/drivers/video/fbdev/vt8500lcdfb.c
+++ b/drivers/video/fbdev/vt8500lcdfb.c
@@ -113,10 +113,8 @@ static int vt8500lcd_set_par(struct fb_info *info)
113 } 113 }
114 114
115 for (i = 0; i < 8; i++) { 115 for (i = 0; i < 8; i++) {
116 if (bpp_values[i] == info->var.bits_per_pixel) { 116 if (bpp_values[i] == info->var.bits_per_pixel)
117 reg_bpp = i; 117 reg_bpp = i;
118 continue;
119 }
120 } 118 }
121 119
122 control0 = readl(fbi->regbase) & ~0xf; 120 control0 = readl(fbi->regbase) & ~0xf;