Skip to content

Commit aee83fb

Browse files
Tamseel Shamsdaeinki
authored andcommitted
drm/exynos: Remove dev_err() on platform_get_irq() failure
platform_get_irq() will call dev_err() itself on failure, so there is no need for the driver to also do this. This is detected by coccinelle. Signed-off-by: Tamseel Shams <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent 687a0ed commit aee83fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/exynos/exynos_drm_g2d.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,7 +1498,6 @@ static int g2d_probe(struct platform_device *pdev)
14981498

14991499
g2d->irq = platform_get_irq(pdev, 0);
15001500
if (g2d->irq < 0) {
1501-
dev_err(dev, "failed to get irq\n");
15021501
ret = g2d->irq;
15031502
goto err_put_clk;
15041503
}

0 commit comments

Comments
 (0)