diff mbox

drm/tinydrm: fix semicolon.cocci warnings

Message ID 20170312144636.GA91808@lkp-g5.lkp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu March 12, 2017, 2:46 p.m. UTC
drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon
drivers/gpu/drm/tinydrm/mipi-dbi.c:593:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 mipi-dbi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Daniel Vetter March 14, 2017, 1:18 p.m. UTC | #1
On Sun, Mar 12, 2017 at 10:46:36PM +0800, kbuild test robot wrote:
> drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon
> drivers/gpu/drm/tinydrm/mipi-dbi.c:593:2-3: Unneeded semicolon
> 
> 
>  Remove unneeded semicolon.
> 
> Generated by: scripts/coccinelle/misc/semicolon.cocci
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied to drm-misc-next, thx.
-Daniel

> ---
> 
>  mipi-dbi.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> --- a/drivers/gpu/drm/tinydrm/mipi-dbi.c
> +++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c
> @@ -590,7 +590,7 @@ static int mipi_dbi_spi1e_transfer(struc
>  		ret = spi_sync(spi, &m);
>  		if (ret)
>  			return ret;
> -	};
> +	}
>  
>  	return 0;
>  }
> @@ -654,7 +654,7 @@ static int mipi_dbi_spi1_transfer(struct
>  		ret = spi_sync(spi, &m);
>  		if (ret)
>  			return ret;
> -	};
> +	}
>  
>  	return 0;
>  }
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

--- a/drivers/gpu/drm/tinydrm/mipi-dbi.c
+++ b/drivers/gpu/drm/tinydrm/mipi-dbi.c
@@ -590,7 +590,7 @@  static int mipi_dbi_spi1e_transfer(struc
 		ret = spi_sync(spi, &m);
 		if (ret)
 			return ret;
-	};
+	}
 
 	return 0;
 }
@@ -654,7 +654,7 @@  static int mipi_dbi_spi1_transfer(struct
 		ret = spi_sync(spi, &m);
 		if (ret)
 			return ret;
-	};
+	}
 
 	return 0;
 }