summaryrefslogtreecommitdiffstats
path: root/drivers/dma/qcom
diff options
context:
space:
mode:
authorXu Wang <vulab@iscas.ac.cn>2021-11-16 01:33:06 +0000
committerVinod Koul <vkoul@kernel.org>2021-11-22 12:29:04 +0530
commit2bfab6f8b4f1814eabfcbf335c2fc451592e9fc5 (patch)
treebe62aba25058d413d71b42586cca408054a90b8b /drivers/dma/qcom
parent29cf37fa6dd9c4de81b745ad3ae77f3709931d1e (diff)
downloadlinux-2bfab6f8b4f1814eabfcbf335c2fc451592e9fc5.tar.gz
linux-2bfab6f8b4f1814eabfcbf335c2fc451592e9fc5.tar.bz2
linux-2bfab6f8b4f1814eabfcbf335c2fc451592e9fc5.zip
dmaengine: qcom: gpi: Remove unnecessary print function dev_err()
The print function dev_err() is redundant because platform_get_irq() already prints an error. Signed-off-by: Xu Wang <vulab@iscas.ac.cn> Link: https://lore.kernel.org/r/20211116013306.784-1-vulab@iscas.ac.cn Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/qcom')
-rw-r--r--drivers/dma/qcom/gpi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index 1a1b7d8458c9..94f3648f7483 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -2206,10 +2206,8 @@ static int gpi_probe(struct platform_device *pdev)
/* set up irq */
ret = platform_get_irq(pdev, i);
- if (ret < 0) {
- dev_err(gpi_dev->dev, "platform_get_irq failed for %d:%d\n", i, ret);
+ if (ret < 0)
return ret;
- }
gpii->irq = ret;
/* set up channel specific register info */