提交 0fc50517 编写于 作者: S Sudip Mukherjee 提交者: Tomi Valkeinen

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: NSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 8be02cdf
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册