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:
f65e584
)
net: ethernet: ezchip: fix platform_get_irq.cocci warning
author
Yihao Han
<hanyihao@vivo.com>
Thu, 10 Mar 2022 08:12:19 +0000
(
00:12
-0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 11 Mar 2022 11:07:23 +0000
(11:07 +0000)
Remove dev_err() messages after platform_get_irq*() failures.
platform_get_irq() already prints an error.
Generated by: scripts/coccinelle/api/platform_get_irq.cocci
Signed-off-by: Yihao Han <hanyihao@vivo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ezchip/nps_enet.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ezchip/nps_enet.c
b/drivers/net/ethernet/ezchip/nps_enet.c
index 323340826dabdc143b82c82f56337290c2ea8bf2..69dbf950d4516e89bbfd9e13b8d7007c7d6b8957 100644
(file)
--- a/
drivers/net/ethernet/ezchip/nps_enet.c
+++ b/
drivers/net/ethernet/ezchip/nps_enet.c
@@
-608,7
+608,6
@@
static s32 nps_enet_probe(struct platform_device *pdev)
/* Get IRQ number */
priv->irq = platform_get_irq(pdev, 0);
if (priv->irq < 0) {
- dev_err(dev, "failed to retrieve <irq Rx-Tx> value from device tree\n");
err = -ENODEV;
goto out_netdev;
}