diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-12-16 06:58:21 +0300 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-01-06 17:56:23 +0300 |
commit | 3eaf891224e1dd5da2fa1c9487fdab0dbac3ff8d (patch) | |
tree | 0521642c51451e2233bf930023b68ed585439f1d /drivers/gpu/drm/meson | |
parent | d969ebe922aa13d1ec99659b6d2332e4811c4d61 (diff) | |
download | linux-3eaf891224e1dd5da2fa1c9487fdab0dbac3ff8d.tar.xz |
drm: meson: Remove unneeded semicolon
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
Diffstat (limited to 'drivers/gpu/drm/meson')
-rw-r--r-- | drivers/gpu/drm/meson/meson_crtc.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/meson/meson_plane.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/meson/meson_crtc.c b/drivers/gpu/drm/meson/meson_crtc.c index 8366a0ed37af..e66b6271ff58 100644 --- a/drivers/gpu/drm/meson/meson_crtc.c +++ b/drivers/gpu/drm/meson/meson_crtc.c @@ -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 + diff --git a/drivers/gpu/drm/meson/meson_plane.c b/drivers/gpu/drm/meson/meson_plane.c index 534c62879796..d5cbc47835bf 100644 --- a/drivers/gpu/drm/meson/meson_plane.c +++ b/drivers/gpu/drm/meson/meson_plane.c @@ -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; |