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(-)
the check for info is not required as we are checking it immediately
after gxfb_init_fbinfo() and lxfb_init_fbinfo() and returnig -ENOMEM
if it is NULL.
Signed-off-by: Sudip Mukherjee <redacted>
---
Hi Tomi,
This patch is similar to my last patch which you have already queued
for 3.20. if you can revert that then i can send you a single patch
with all these three changes together.
drivers/video/fbdev/geode/gxfb_core.c | 6 ++----
drivers/video/fbdev/geode/lxfb_core.c | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
@@ -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
From: Tomi Valkeinen <hidden> Date: 2015-01-13 11:31:39
On 06/01/15 14:45, Sudip Mukherjee wrote:
the check for info is not required as we are checking it immediately
after gxfb_init_fbinfo() and lxfb_init_fbinfo() and returnig -ENOMEM
if it is NULL.
Signed-off-by: Sudip Mukherjee <redacted>
---
Hi Tomi,
This patch is similar to my last patch which you have already queued
for 3.20. if you can revert that then i can send you a single patch
with all these three changes together.
No need for that, two separate patches is fine. So queued for 3.20.
Tomi