projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbf1e56
)
dmaengine: edma: remove duplicate kfree
author
Vinod Koul
<vinod.koul@intel.com>
Wed, 13 Nov 2013 06:36:24 +0000
(12:06 +0530)
committer
Vinod Koul
<vinod.koul@intel.com>
Wed, 13 Nov 2013 08:40:20 +0000
(14:10 +0530)
fixing of freeing descriptor memory was applied twice, so remove the one
duplicate
Reported-by: Wing-Keung Wang <wingkeung.wang@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/edma.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/edma.c
b/drivers/dma/edma.c
index 592f3be8b435ef5b345de2e96f6736d4b1fa2965..ab48430765b82665905f861e6151bf193843e8f4 100644
(file)
--- a/
drivers/dma/edma.c
+++ b/
drivers/dma/edma.c
@@
-428,7
+428,6
@@
static struct dma_async_tx_descriptor *edma_prep_slave_sg(
if (echan->slot[i] < 0) {
kfree(edesc);
dev_err(dev, "Failed to allocate slot\n");
- kfree(edesc);
return NULL;
}
}