2022-05-06 09:32:10

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] drm/rockchip: remove unneeded semicolon

Eliminate the following coccicheck warning:
./drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1476:2-3: Unneeded
semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
index 0b49fed16535..7f9d88634a77 100644
--- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
+++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
@@ -1473,7 +1473,7 @@ static void rk3568_set_intf_mux(struct vop2_video_port *vp, int id,
default:
drm_err(vop2->drm, "Invalid interface id %d on vp%d\n", id, vp->id);
return;
- };
+ }

dip |= RK3568_DSP_IF_POL__CFG_DONE_IMD;

--
2.20.1.7.g153144c



2022-05-09 03:42:22

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH -next] drm/rockchip: remove unneeded semicolon

On Fri, 6 May 2022 07:26:59 +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1476:2-3: Unneeded
> semicolon

Applied, thanks!

[1/1] drm/rockchip: remove unneeded semicolon
commit: 813bb91da10bb6638dfadad73f2f0a5f9883946b

Best regards,
--
Heiko Stuebner <[email protected]>