From: Sudip Mukherjee Date: Wed, 7 Jan 2015 05:35:48 +0000 (+0530) Subject: video: vt8500lcdfb: remove unneeded continue X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0fc50517cf2f9f580d7b54cb72dbc1e760aa8113;p=deliverable%2Flinux.git 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 Signed-off-by: Tomi Valkeinen --- 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) } 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;