]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm: meson: Remove unneeded semicolon
authorzhengbin <zhengbin13@huawei.com>
Mon, 16 Dec 2019 03:58:21 +0000 (11:58 +0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 6 Jan 2020 14:56:23 +0000 (15:56 +0100)
Fixes coccicheck warning:

drivers/gpu/drm/meson/meson_crtc.c:360:3-4: Unneeded semicolon
drivers/gpu/drm/meson/meson_plane.c:181:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1576468701-69717-1-git-send-email-zhengbin13@huawei.com
drivers/gpu/drm/meson/meson_crtc.c
drivers/gpu/drm/meson/meson_plane.c

index 8366a0ed37afdaeb52449fa4f303db416fba2ff6..e66b6271ff58a75990e79fda9309cde659abe931 100644 (file)
@@ -413,7 +413,7 @@ void meson_crtc_irq(struct meson_drm *priv)
                                            MESON_CANVAS_WRAP_NONE,
                                            MESON_CANVAS_BLKMODE_LINEAR,
                                            MESON_CANVAS_ENDIAN_SWAP64);
-               };
+               }
 
                writel_relaxed(priv->viu.vd1_if0_gen_reg,
                                priv->io_base + meson_crtc->viu_offset +
index 534c628797967606a14d338e0812d81204608292..d5cbc47835bfa021252383e0ecacaf30dd66a279 100644 (file)
@@ -237,7 +237,7 @@ static void meson_plane_atomic_update(struct drm_plane *plane,
                /* For ARGB, use the pixel's alpha */
                priv->viu.osd1_ctrl_stat2 &= ~OSD_REPLACE_EN;
                break;
-       };
+       }
 
        /* Default scaler parameters */
        vsc_bot_rcv_num = 0;