diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2022-06-13 04:26:58 +0300 |
---|---|---|
committer | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2022-06-24 18:04:03 +0300 |
commit | f9bbc1c8449a51a049a1d6d436eb973b00b6cd7a (patch) | |
tree | 3827923b63d7df4e64ec74ec9262a48c0ac9c6ed /drivers/gpu/drm/logicvc | |
parent | d54cda74a9a27d6a18c6b670f7299114272a5e50 (diff) | |
download | linux-f9bbc1c8449a51a049a1d6d436eb973b00b6cd7a.tar.xz |
drm: Remove unnecessary print function dev_err()
The print function dev_err() is redundant because platform_get_irq()
already prints an error.
Eliminate the follow coccicheck warning:
./drivers/gpu/drm/logicvc/logicvc_drm.c:352:2-9: line 352 is redundant
because platform_get_irq() already prints an error
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220613012658.85814-1-yang.lee@linux.alibaba.com
Diffstat (limited to 'drivers/gpu/drm/logicvc')
-rw-r--r-- | drivers/gpu/drm/logicvc/logicvc_drm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/logicvc/logicvc_drm.c b/drivers/gpu/drm/logicvc/logicvc_drm.c index 0b983a33f9ff..65a050176c33 100644 --- a/drivers/gpu/drm/logicvc/logicvc_drm.c +++ b/drivers/gpu/drm/logicvc/logicvc_drm.c @@ -349,7 +349,6 @@ static int logicvc_drm_probe(struct platform_device *pdev) irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(dev, "Failed to get IRQ\n"); ret = -ENODEV; goto error_reserved_mem; } |