projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8be02cd
)
video: vt8500lcdfb: remove unneeded continue
author
Sudip Mukherjee
<sudipm.mukherjee@gmail.com>
Wed, 7 Jan 2015 05:35:48 +0000
(11:05 +0530)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Tue, 13 Jan 2015 11:35:04 +0000
(13:35 +0200)
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>
drivers/video/fbdev/vt8500lcdfb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/vt8500lcdfb.c
b/drivers/video/fbdev/vt8500lcdfb.c
index ffaf29eeaaba21c25b9f571c3fedc597a11e91b4..1a1176bf09062eba2f4852766d0eff0760aaa331 100644
(file)
--- 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;