Skip to contentSkip to conversation

media: rkvdec: fix platform_get_irq.cocci warnings

PATCH New Julia Lawall 1 participant 1 message Dec 18, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: rkvdec: fix platform_get_irq.cocci warnings

From: kbuild test robot <[email protected]>

Remove dev_err() messages after platform_get_irq*() failures. platform_get_irq() already prints an error.

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Fixes 9444192e3ca6 ("media: rkvdec: Add the rkvdec driver core")

---

tree:   https://github.com/bbrezillon/linux-0day rk/vdec-h264+vp9
head:   96c61811b509b500821b68016aba8e58226b1045
commit: 9444192e3ca6892479d3238e0be8aba2ff98d914 [10/13] media: rkvdec: Add the rkvdec driver core

:::::: branch date: 5 days ago
:::::: commit date: 5 days ago

 rkvdec.c |    1 -
 1 file changed, 1 deletion(-)
drivers/staging/media/rkvdec/rkvdec.c +0 -1
@@ -994,7 +994,6 @@ static int rkvdec_probe(struct platform_
 
 	irq = platform_get_irq(pdev, 0);
 	if (irq <= 0) {
-		dev_err(&pdev->dev, "Could not get vdec IRQ\n");
 		return -ENXIO;
 	}