diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2022-08-24 14:44:55 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-08-24 22:53:41 +0300 |
commit | 144c467398aa9fb274583590c848e6d6388e89d9 (patch) | |
tree | 8e9c902d89ffe67121cfb8ad4c6f9f47339fd759 /drivers/video/fbdev/omap/omapfb_main.c | |
parent | 07c55c9803dea748d17a054000cbf1913ce06399 (diff) | |
download | linux-144c467398aa9fb274583590c848e6d6388e89d9.tar.xz |
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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video/fbdev/omap/omapfb_main.c')
-rw-r--r-- | drivers/video/fbdev/omap/omapfb_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/fbdev/omap/omapfb_main.c b/drivers/video/fbdev/omap/omapfb_main.c index fbb3af883d4d..17cda5765683 100644 --- a/drivers/video/fbdev/omap/omapfb_main.c +++ b/drivers/video/fbdev/omap/omapfb_main.c @@ -1643,14 +1643,12 @@ static int omapfb_do_probe(struct platform_device *pdev, } fbdev->int_irq = platform_get_irq(pdev, 0); if (fbdev->int_irq < 0) { - dev_err(&pdev->dev, "unable to get irq\n"); r = ENXIO; goto cleanup; } fbdev->ext_irq = platform_get_irq(pdev, 1); if (fbdev->ext_irq < 0) { - dev_err(&pdev->dev, "unable to get irq\n"); r = ENXIO; goto cleanup; } |