video: fbdev: delete redundant printing of return value
Subsystems (2)
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.
Signed-off-by Wang Qing <[email protected]>
--- drivers/video/fbdev/vt8500lcdfb.c | 1 - 1 file changed, 1 deletion(-)
drivers/video/fbdev/vt8500lcdfb.c +0 -1
@@ -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