aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/edma.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c
index 592f3be8b435..ab48430765b8 100644
--- a/drivers/dma/edma.c
+++ b/drivers/dma/edma.c
@@ -428,7 +428,6 @@ static struct dma_async_tx_descriptor *edma_prep_slave_sg(
428 if (echan->slot[i] < 0) { 428 if (echan->slot[i] < 0) {
429 kfree(edesc); 429 kfree(edesc);
430 dev_err(dev, "Failed to allocate slot\n"); 430 dev_err(dev, "Failed to allocate slot\n");
431 kfree(edesc);
432 return NULL; 431 return NULL;
433 } 432 }
434 } 433 }