Skip to content

Commit dc1e7e9

Browse files
Bixuan Cuigregkh
authored andcommitted
usb: dwc3: qcom: Remove redundant dev_err call in dwc3_qcom_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: Bixuan Cui <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 90d28fb commit dc1e7e9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/usb/dwc3/dwc3-qcom.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,6 @@ static int dwc3_qcom_probe(struct platform_device *pdev)
774774

775775
qcom->qscratch_base = devm_ioremap_resource(dev, parent_res);
776776
if (IS_ERR(qcom->qscratch_base)) {
777-
dev_err(dev, "failed to map qscratch, err=%d\n", ret);
778777
ret = PTR_ERR(qcom->qscratch_base);
779778
goto clk_disable;
780779
}

0 commit comments

Comments
 (0)