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>
This commit is contained in:
parent
52f50ce556
commit
468f8646df
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user