mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
dmaengine: edma: remove duplicate kfree
fixing of freeing descriptor memory was applied twice, so remove the one duplicate Reported-by: Wing-Keung Wang <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
parent
cbf1e56e6a
commit
b6d5050ccc
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue