Skip to contentSkip to conversation

video: fbdev: delete redundant printing of return value

PATCH New Wang Qing 1 participant 1 message Mar 11, 2021

Subsystems (2)
lore
Share & tools
lore

Wang Qing

author
#0 lore raw

PATCH 1/1 video: fbdev: delete redundant printing of return value

platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all.

---
 drivers/video/fbdev/vt8500lcdfb.c | 1 -
 1 file changed, 1 deletion(-)
drivers/video/fbdev/vt8500lcdfb.c +0 -1
index c614762..4cacff6
@@ -373,7 +373,6 @@ static int vt8500lcd_probe(struct platform_device *pdev)
 
 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
-		dev_err(&pdev->dev, "no IRQ defined\n");
 		ret = -ENODEV;
 		goto failed_free_palette;
 	}
Signature · 1 line
2.7.4