mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 17:13:52 +02:00
media: raspberrypi: Remove redundant "no IRQ" message
platform_get_irq() already provides a error message. This fixes the following cocci error: drivers/media/platform/raspberrypi/rp1-cfe/cfe.c:2326:2-9: line 2326 is redundant because platform_get_irq() already prints an error Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
940ff4b41b
commit
3bb5080293
|
|
@ -2323,7 +2323,6 @@ static int cfe_probe(struct platform_device *pdev)
|
|||
|
||||
ret = platform_get_irq(pdev, 0);
|
||||
if (ret <= 0) {
|
||||
dev_err(&pdev->dev, "No IRQ resource\n");
|
||||
ret = -EINVAL;
|
||||
goto err_cfe_put;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user