Re: [PATCH] video: vt8500lcdfb: remove unneeded continue

From
Sergei Shtylyov <hidden>
Date
2015-01-06 18:31:48
Also in
linux-arm-kernel, lkml
Reply to
Sudip Mukherjee, 2015-01-06
Hello.

On 01/06/2015 03:45 PM, Sudip Mukherjee wrote:
continue is not needed at the end of a for loop
Signed-off-by: Sudip Mukherjee <redacted>
---
  drivers/video/fbdev/vt8500lcdfb.c | 1 -
  1 file changed, 1 deletion(-)
quoted hunk ↗ jump to hunk
diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c
index ffaf29e..6716bf5 100644
--- a/drivers/video/fbdev/vt8500lcdfb.c
+++ b/drivers/video/fbdev/vt8500lcdfb.c
@@ -115,7 +115,6 @@ static int vt8500lcd_set_par(struct fb_info *info)
  	for (i = 0; i < 8; i++) {
  		if (bpp_values[i] = info->var.bits_per_pixel) {
  			reg_bpp = i;
-			continue;
  		}
    {} are not needed any more either. ;-)

[...]

WBR, Sergei
Thread (5 messages) 5 messages, 3 authors, last reply 2015-01-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help