Thread (3 messages) flat view 3 messages, 2 authors, 2015-01-07

[PATCH] video: vt8500lcdfb: remove unneeded continue

From: sudipm.mukherjee@gmail.com (Sudip Mukherjee)
Date: 2015-01-07 04:46:56
Also in: linux-fbdev, lkml

On Tue, Jan 06, 2015 at 09:31:39PM +0300, Sergei Shtylyov wrote:
Hello.

On 01/06/2015 03:45 PM, Sudip Mukherjee wrote:
quoted
continue is not needed at the end of a for loop
quoted
Signed-off-by: Sudip Mukherjee <redacted>
---
 drivers/video/fbdev/vt8500lcdfb.c | 1 -
 1 file changed, 1 deletion(-)
quoted
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. ;-)
i have noticed that but thought that will be again a different type of change in a single patch.
but now it seems that this patch will introduce a new checkpatch warning, so i should have corrected that in it.
i will send a v2.

thanks
sudip
[...]

WBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help