From: Wei Yongjun Date: Sun, 20 Jul 2014 13:57:17 +0000 (+0800) Subject: net: mvpp2: Remove redundant dev_err call in mvpp2_port_probe() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=468f8646df637e3e298e9c3d87211bf1b045c321;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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; }