usb: dwc3: qcom: Remove redundant dev_err call in dwc3_qcom_probe()
Subsystems (3)
PATCH 1/1 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]>
--- drivers/usb/dwc3/dwc3-qcom.c | 1 - 1 file changed, 1 deletion(-)
drivers/usb/dwc3/dwc3-qcom.c +0 -1
@@ -774,7 +774,6 @@ static int dwc3_qcom_probe(struct platform_device *pdev) qcom->qscratch_base =devm_ioremap_resource (dev, parent_res);if (IS_ERR (qcom->qscratch_base)) { -dev_err (dev,"failed to map qscratch, err=%d\n" , ret); ret =PTR_ERR (qcom->qscratch_base); goto clk_disable; }