[PATCH 1/1] dma: mv_xor: Fix incorrect error path

2013-09-02 Thread Sachin Kamat
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

[PATCH 1/1] dma: mv_xor: Fix incorrect error path

2013-09-02 Thread Sachin Kamat
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