summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-01-07 05:35:48 (GMT)
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-01-13 11:35:04 (GMT)
commit0fc50517cf2f9f580d7b54cb72dbc1e760aa8113 (patch)
tree4a035f0414661e859ca325604c65b58605f30402
parent8be02cdfee1b02a59635a4767aaaa7dff271245b (diff)
downloadlinux-0fc50517cf2f9f580d7b54cb72dbc1e760aa8113.tar.xz
video: vt8500lcdfb: remove unneeded continue
continue is not needed at the end of a for loop, also removed the braces which were no longer required. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-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 ffaf29e..1a1176b 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)
}
for (i = 0; i < 8; i++) {
- if (bpp_values[i] == info->var.bits_per_pixel) {
+ if (bpp_values[i] == info->var.bits_per_pixel)
reg_bpp = i;
- continue;
- }
}
control0 = readl(fbi->regbase) & ~0xf;