Browse Source

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>
Sudip Mukherjee 11 years ago
parent
commit
0fc50517cf
1 changed files with 1 additions and 3 deletions
  1. 1 3
      drivers/video/fbdev/vt8500lcdfb.c

+ 1 - 3
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;