[PATCH] drm: fix semicolon.cocci warnings

Julia Lawall julia.lawall at lip6.fr
Thu Apr 12 15:52:18 AEST 2018


From: Fengguang Wu <fengguang.wu at intel.com>

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: 6784ac15bc68 ("drm: Add ASPEED GFX driver")
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
Signed-off-by: Julia Lawall <julia.lawall at lip6.fr>
---

 aspeed_gfx_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
+++ b/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
@@ -203,7 +203,7 @@ static irqreturn_t aspeed_gfx_irq_handle
 		drm_crtc_handle_vblank(&priv->pipe.crtc);
 		writel(reg, priv->base + CRT_CTRL1);
 		return IRQ_HANDLED;
-	};
+	}

 	return IRQ_NONE;
 }


More information about the Linux-aspeed mailing list