aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc3/dwc3-qcom.c
diff options
context:
space:
mode:
authorBixuan Cui <cuibixuan@huawei.com>2021-04-10 10:48:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-10 10:45:52 +0200
commitdc1e7e9a27e05260c45e142d28fb56ae63f94966 (patch)
treeee0d77ab557cf11c4b0e5f7ad3de381370e3c899 /drivers/usb/dwc3/dwc3-qcom.c
parentusb: core: reduce power-on-good delay time of root hub (diff)
downloadlinux-dev-dc1e7e9a27e05260c45e142d28fb56ae63f94966.tar.xz
linux-dev-dc1e7e9a27e05260c45e142d28fb56ae63f94966.zip
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 <hulkci@huawei.com> Signed-off-by: Bixuan Cui <cuibixuan@huawei.com> Link: https://lore.kernel.org/r/20210410024818.65659-1-cuibixuan@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-qcom.c')
-rw-r--r--drivers/usb/dwc3/dwc3-qcom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c
index e37cc58dfa55..726d5048d87c 100644
--- a/drivers/usb/dwc3/dwc3-qcom.c
+++ b/drivers/usb/dwc3/dwc3-qcom.c
@@ -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;
}