projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23910a2
)
fbdev: pxafb: Remove unnecessary print function dev_err()
author
wangkailong@jari.cn
<wangkailong@jari.cn>
Sun, 6 Nov 2022 14:16:08 +0000
(22:16 +0800)
committer
Helge Deller
<deller@gmx.de>
Wed, 14 Dec 2022 19:01:50 +0000
(20:01 +0100)
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>
drivers/video/fbdev/pxafb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/pxafb.c
b/drivers/video/fbdev/pxafb.c
index 696ac54311809b2a2bbf50a06bba08db8b46e702..c46ed78298ae3b4f7f01fe197aebd30f34abe4ea 100644
(file)
--- 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;
}