fbdev: pxafb: Remove unnecessary print function dev_err()
Eliminate the follow coccicheck warning: ./drivers/video/fbdev/pxafb.c:2330:2-9: line 2330 is redundant because platform_get_irq() already prints an error Signed-off-by: KaiLong Wang <wangkailong@jari.cn> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
parent
23910a20f3
commit
eceadc9219
@ -2327,7 +2327,6 @@ static int pxafb_probe(struct platform_device *dev)
|
||||
|
||||
irq = platform_get_irq(dev, 0);
|
||||
if (irq < 0) {
|
||||
dev_err(&dev->dev, "no IRQ defined\n");
|
||||
ret = -ENODEV;
|
||||
goto failed_free_mem;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user