Skip to content

Commit c0d580c

Browse files
Zhihao ChengJassiBrar
authored andcommitted
mailbox: bcm-flexrm-mailbox: Remove redundant dev_err call in flexrm_mbox_probe()
There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zhihao Cheng <[email protected]> Signed-off-by: Jassi Brar <[email protected]>
1 parent 01c5916 commit c0d580c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mailbox/bcm-flexrm-mailbox.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,6 @@ static int flexrm_mbox_probe(struct platform_device *pdev)
15231523
mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
15241524
if (IS_ERR(mbox->regs)) {
15251525
ret = PTR_ERR(mbox->regs);
1526-
dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
15271526
goto fail;
15281527
}
15291528
regs_end = mbox->regs + resource_size(iomem);

0 commit comments

Comments
 (0)