Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 468f8646 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52f50ce5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}