Return directly if memory allocation fails. There is no need
of dma_free_coherent().
Signed-off-by: Sachin Kamat
Cc: Saeed Bishara
---
drivers/dma/mv_xor.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index
Return directly if memory allocation fails. There is no need
of dma_free_coherent().
Signed-off-by: Sachin Kamat sachin.ka...@linaro.org
Cc: Saeed Bishara sa...@marvell.com
---
drivers/dma/mv_xor.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/dma/mv_xor.c
2 matches
Mail list logo