video: fbdev: delete redundant printing of return value
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/pxa3xx-gcu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/video/fbdev/pxa3xx-gcu.c +1 -3
@@ -613,10 +613,8 @@ static int pxa3xx_gcu_probe(struct platform_device *pdev)/* request the IRQ */ irq =platform_get_irq (pdev,0 ); -if (irq <0 ) { -dev_err (dev,"no IRQ defined: %d\n" , irq); +if (irq <0 )return irq; - } ret =devm_request_irq (dev, irq, pxa3xx_gcu_handle_irq,0 ,DRV_NAME , priv);
Signature · 1 line
2.7.4