diff options
author | Shang XiaoJing <shangxiaojing@huawei.com> | 2022-09-23 11:58:35 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-09-23 13:55:01 +0200 |
commit | 6eed756408c69687613a83fd221431c8790cf0bb (patch) | |
tree | 8e5c9f322d6d39391519c98a88bf3d1b1d396813 /drivers/net/can | |
parent | can: gs_usb: remove dma allocations (diff) | |
download | linux-6eed756408c69687613a83fd221431c8790cf0bb.tar.xz linux-6eed756408c69687613a83fd221431c8790cf0bb.zip |
can: ctucanfd: Remove redundant dev_err call
devm_ioremap_resource() prints error message in itself. Remove the
dev_err call to avoid redundant error message.
Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com>
Link: https://lore.kernel.org/all/20220923095835.14647-1-shangxiaojing@huawei.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/ctucanfd/ctucanfd_platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/can/ctucanfd/ctucanfd_platform.c b/drivers/net/can/ctucanfd/ctucanfd_platform.c index 89d54c2151e1..f83684f006ea 100644 --- a/drivers/net/can/ctucanfd/ctucanfd_platform.c +++ b/drivers/net/can/ctucanfd/ctucanfd_platform.c @@ -58,7 +58,6 @@ static int ctucan_platform_probe(struct platform_device *pdev) res = platform_get_resource(pdev, IORESOURCE_MEM, 0); addr = devm_ioremap_resource(dev, res); if (IS_ERR(addr)) { - dev_err(dev, "Cannot remap address.\n"); ret = PTR_ERR(addr); goto err; } |