* [PATCH] drm/rockchip: Remove unneeded semicolon
@ 2022-05-06 1:55 Haowen Bai
2022-05-08 14:54 ` Heiko Stuebner
0 siblings, 1 reply; 2+ messages in thread
From: Haowen Bai @ 2022-05-06 1:55 UTC (permalink / raw)
To: Sandy Huang, Heiko Stübner, David Airlie, Daniel Vetter
Cc: Haowen Bai, dri-devel, linux-arm-kernel, linux-rockchip, linux-kernel
Fixes coccicheck warning:
drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1476:2-3: Unneeded semicolon
Signed-off-by: Haowen Bai <baihaowen@meizu.com>
---
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.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/rockchip: Remove unneeded semicolon
2022-05-06 1:55 [PATCH] drm/rockchip: Remove unneeded semicolon Haowen Bai
@ 2022-05-08 14:54 ` Heiko Stuebner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2022-05-08 14:54 UTC (permalink / raw)
To: Sandy Huang, David Airlie, Daniel Vetter, Haowen Bai
Cc: Haowen Bai, dri-devel, linux-arm-kernel, linux-rockchip, linux-kernel
Am Freitag, 6. Mai 2022, 03:55:57 CEST schrieb Haowen Bai:
> Fixes coccicheck warning:
>
> drivers/gpu/drm/rockchip/rockchip_drm_vop2.c:1476:2-3: Unneeded semicolon
>
> Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Yang Li was slightly faster [0] than this patch, so I've picked that one.
[0] https://lore.kernel.org/r/20220505232659.4405-1-yang.lee@linux.alibaba.com
> ---
> 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;
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-05-08 14:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 1:55 [PATCH] drm/rockchip: Remove unneeded semicolon Haowen Bai
2022-05-08 14:54 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).