Skip to content

Commit 144c467

Browse files
Jiapeng Chonghdeller
authored andcommitted
fbdev: omap: Remove unnecessary print function dev_err()
The print function dev_err() is redundant because platform_get_irq() already prints an error. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=1957 Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Helge Deller <[email protected]>
1 parent 07c55c9 commit 144c467

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/video/fbdev/omap/omapfb_main.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1643,14 +1643,12 @@ static int omapfb_do_probe(struct platform_device *pdev,
16431643
}
16441644
fbdev->int_irq = platform_get_irq(pdev, 0);
16451645
if (fbdev->int_irq < 0) {
1646-
dev_err(&pdev->dev, "unable to get irq\n");
16471646
r = ENXIO;
16481647
goto cleanup;
16491648
}
16501649

16511650
fbdev->ext_irq = platform_get_irq(pdev, 1);
16521651
if (fbdev->ext_irq < 0) {
1653-
dev_err(&pdev->dev, "unable to get irq\n");
16541652
r = ENXIO;
16551653
goto cleanup;
16561654
}

0 commit comments

Comments
 (0)