aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/marvell/mvpp2.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-07-20 21:57:17 +0800
committerDavid S. Miller <davem@davemloft.net>2014-07-20 22:26:58 -0700
commit468f8646df637e3e298e9c3d87211bf1b045c321 (patch)
treeb40bd6a39762fd8efd13e1bf9ed5ff31255f2f64 /drivers/net/ethernet/marvell/mvpp2.c
parenttipc: fix sparse non static symbol warnings (diff)
downloadlinux-dev-468f8646df637e3e298e9c3d87211bf1b045c321.tar.xz
linux-dev-468f8646df637e3e298e9c3d87211bf1b045c321.zip
net: mvpp2: Remove redundant dev_err call in mvpp2_port_probe()
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2.c')
-rw-r--r--drivers/net/ethernet/marvell/mvpp2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c
index f4de2a9316ff..f8e1953aeb59 100644
--- a/drivers/net/ethernet/marvell/mvpp2.c
+++ b/drivers/net/ethernet/marvell/mvpp2.c
@@ -6062,7 +6062,6 @@ static int mvpp2_port_probe(struct platform_device *pdev,
port->base = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(port->base)) {
err = PTR_ERR(port->base);
- dev_err(&pdev->dev, "cannot obtain port base address\n");
goto err_free_irq;
}