Skip to content

Commit 01c5916

Browse files
Zhihao ChengJassiBrar
authored andcommitted
mailbox: bcm2835: Remove redundant dev_err call in bcm2835_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 d6fbfdb commit 01c5916

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mailbox/bcm2835-mailbox.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@ static int bcm2835_mbox_probe(struct platform_device *pdev)
157157
mbox->regs = devm_ioremap_resource(&pdev->dev, iomem);
158158
if (IS_ERR(mbox->regs)) {
159159
ret = PTR_ERR(mbox->regs);
160-
dev_err(&pdev->dev, "Failed to remap mailbox regs: %d\n", ret);
161160
return ret;
162161
}
163162

0 commit comments

Comments
 (0)