projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef2c3b
)
net: ethernet: davinci_emac: remove redundant dev_err call in davinci_emac_probe()
author
Wei Yongjun
<
[email protected]
>
Tue, 2 Jul 2013 00:57:47 +0000
(08:57 +0800)
committer
David S. Miller
<
[email protected]
>
Tue, 2 Jul 2013 08:10:06 +0000
(
01:10
-0700)
There is a error message within devm_ioremap_resource
already, so remove the dev_err call to avoid redundant
error message.
Signed-off-by: Wei Yongjun <
[email protected]
>
Acked-by: Lad, Prabhakar <
[email protected]
>
Acked-by: Mugunthan V N <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/ti/davinci_emac.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/ti/davinci_emac.c
b/drivers/net/ethernet/ti/davinci_emac.c
index f118d7133128a18005ff4fb96114873bd7f140bf..07b176bcf929706a7f3c3974e49becd346a2dc27 100644
(file)
--- a/
drivers/net/ethernet/ti/davinci_emac.c
+++ b/
drivers/net/ethernet/ti/davinci_emac.c
@@
-1870,7
+1870,6
@@
static int davinci_emac_probe(struct platform_device *pdev)
priv->emac_base_phys = res->start + pdata->ctrl_reg_offset;
priv->remap_addr = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(priv->remap_addr)) {
- dev_err(&pdev->dev, "unable to map IO\n");
rc = PTR_ERR(priv->remap_addr);
goto no_pdata;
}