diff mbox

drm/tinydrm: fix semicolon.cocci warnings

Message ID 20170223164647.GA2519@lkp-ws02 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Feb. 23, 2017, 4:46 p.m. UTC
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c:454:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

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

 tinydrm-helpers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Vetter Feb. 26, 2017, 9:55 p.m. UTC | #1
On Fri, Feb 24, 2017 at 12:46:48AM +0800, kbuild test robot wrote:
> drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c:454: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, thanks.
-Daniel

> ---
> 
>  tinydrm-helpers.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- a/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
> +++ b/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
> @@ -451,7 +451,7 @@ int tinydrm_spi_transfer(struct spi_devi
>  		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/core/tinydrm-helpers.c
+++ b/drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
@@ -451,7 +451,7 @@  int tinydrm_spi_transfer(struct spi_devi
 		ret = spi_sync(spi, &m);
 		if (ret)
 			return ret;
-	};
+	}
 
 	return 0;
 }