mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-23 00:20:52 -05: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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue