aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ralink-gdma/ralink-gdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ralink-gdma/ralink-gdma.c')
-rw-r--r--drivers/staging/ralink-gdma/ralink-gdma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c
index 5854551d0a52..900424db9b97 100644
--- a/drivers/staging/ralink-gdma/ralink-gdma.c
+++ b/drivers/staging/ralink-gdma/ralink-gdma.c
@@ -826,10 +826,8 @@ static int gdma_dma_probe(struct platform_device *pdev)
tasklet_init(&dma_dev->task, gdma_dma_tasklet, (unsigned long)dma_dev);
irq = platform_get_irq(pdev, 0);
- if (irq < 0) {
- dev_err(&pdev->dev, "failed to get irq\n");
+ if (irq < 0)
return -EINVAL;
- }
ret = devm_request_irq(&pdev->dev, irq, gdma_dma_irq,
0, dev_name(&pdev->dev), dma_dev);
if (ret) {

Privacy Policy