Commit e4c0fd3
drm: adp: Remove unnecessary print function dev_err()
The print function dev_err() is redundant because platform_get_irq_byname()
already prints an error.
./drivers/gpu/drm/adp/adp_drv.c:470:2-9: line 470 is redundant because platform_get_irq() already prints an error.
./drivers/gpu/drm/adp/adp_drv.c:476:2-9: line 476 is redundant because platform_get_irq() already prints an error.
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=19211
Signed-off-by: Jiapeng Chong <[email protected]>
Acked-by: Sasha Finkelstein <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Alyssa Rosenzweig <[email protected]>1 parent 44d2f31 commit e4c0fd3
1 file changed
+2
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
469 | | - | |
470 | | - | |
| 469 | + | |
471 | 470 | | |
472 | | - | |
473 | 471 | | |
474 | 472 | | |
475 | | - | |
476 | | - | |
| 473 | + | |
477 | 474 | | |
478 | | - | |
479 | 475 | | |
480 | 476 | | |
481 | 477 | | |
| |||
0 commit comments