diff options
author | wangkailong@jari.cn <wangkailong@jari.cn> | 2022-11-06 22:16:08 +0800 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-12-14 20:01:50 +0100 |
commit | eceadc9219884fa4b05bf56cace688b77a2563e0 (patch) | |
tree | 7c40328799dcdda4f9dee8d78644e6a15bc9340e /drivers | |
parent | 23910a20f3fe7bdddd4c834a2c7b4547a554e86f (diff) | |
download | linux-stable-eceadc9219884fa4b05bf56cace688b77a2563e0.tar.gz linux-stable-eceadc9219884fa4b05bf56cace688b77a2563e0.tar.bz2 linux-stable-eceadc9219884fa4b05bf56cace688b77a2563e0.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/fbdev/pxafb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/fbdev/pxafb.c b/drivers/video/fbdev/pxafb.c index 696ac5431180..c46ed78298ae 100644 --- a/drivers/video/fbdev/pxafb.c +++ b/drivers/video/fbdev/pxafb.c @@ -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; } |