diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-20 21:57:17 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-20 22:26:58 -0700 |
commit | 468f8646df637e3e298e9c3d87211bf1b045c321 (patch) | |
tree | b40bd6a39762fd8efd13e1bf9ed5ff31255f2f64 /drivers/net/ethernet/marvell | |
parent | 52f50ce556af7008e1c2088d8b2b778ef5e79ff1 (diff) | |
download | op-kernel-dev-468f8646df637e3e298e9c3d87211bf1b045c321.zip op-kernel-dev-468f8646df637e3e298e9c3d87211bf1b045c321.tar.gz |
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')
-rw-r--r-- | drivers/net/ethernet/marvell/mvpp2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index f4de2a9..f8e1953 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; } |