diff mbox series

drm/meson: Remove unneeded semicolon

Message ID 20200424074949.12309-1-zhengbin13@huawei.com (mailing list archive)
State Not Applicable
Delegated to: Neil Armstrong
Headers show
Series drm/meson: Remove unneeded semicolon | expand

Commit Message

Zheng Bin April 24, 2020, 7:49 a.m. UTC
Fixes coccicheck warning:

drivers/gpu/drm/meson/meson_plane.c:226:3-4: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
---
 drivers/gpu/drm/meson/meson_plane.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.26.0.106.g9fadedd

Comments

Neil Armstrong April 28, 2020, 9:17 a.m. UTC | #1
On 24/04/2020 09:49, Zheng Bin wrote:
> Fixes coccicheck warning:
> 
> drivers/gpu/drm/meson/meson_plane.c:226:3-4: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
> ---
>  drivers/gpu/drm/meson/meson_plane.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson/meson_plane.c
> index d5cbc47835bf..35338ed18209 100644
> --- a/drivers/gpu/drm/meson/meson_plane.c
> +++ b/drivers/gpu/drm/meson/meson_plane.c
> @@ -223,7 +223,7 @@ static void meson_plane_atomic_update(struct drm_plane *plane,
>  			priv->viu.osd1_blk0_cfg[0] |= OSD_BLK_MODE_16 |
>  						OSD_COLOR_MATRIX_16_RGB565;
>  			break;
> -		};
> +		}
>  	}
> 
>  	switch (fb->format->format) {
> --
> 2.26.0.106.g9fadedd
> 

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Neil Armstrong April 28, 2020, 9:18 a.m. UTC | #2
On 24/04/2020 09:49, Zheng Bin wrote:
> Fixes coccicheck warning:
> 
> drivers/gpu/drm/meson/meson_plane.c:226:3-4: Unneeded semicolon
> 
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
> ---
>  drivers/gpu/drm/meson/meson_plane.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson/meson_plane.c
> index d5cbc47835bf..35338ed18209 100644
> --- a/drivers/gpu/drm/meson/meson_plane.c
> +++ b/drivers/gpu/drm/meson/meson_plane.c
> @@ -223,7 +223,7 @@ static void meson_plane_atomic_update(struct drm_plane *plane,
>  			priv->viu.osd1_blk0_cfg[0] |= OSD_BLK_MODE_16 |
>  						OSD_COLOR_MATRIX_16_RGB565;
>  			break;
> -		};
> +		}
>  	}
> 
>  	switch (fb->format->format) {
> --
> 2.26.0.106.g9fadedd
> 

Applied to drm-misc-next
diff mbox series

Patch

diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson/meson_plane.c
index d5cbc47835bf..35338ed18209 100644
--- a/drivers/gpu/drm/meson/meson_plane.c
+++ b/drivers/gpu/drm/meson/meson_plane.c
@@ -223,7 +223,7 @@  static void meson_plane_atomic_update(struct drm_plane *plane,
 			priv->viu.osd1_blk0_cfg[0] |= OSD_BLK_MODE_16 |
 						OSD_COLOR_MATRIX_16_RGB565;
 			break;
-		};
+		}
 	}

 	switch (fb->format->format) {