Skip to content
Commit ba42f61b authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Vinod Koul
Browse files

qcom: bam_dma: Delete useless kfree code



The parameter of kfree function is NULL, so kfree code is useless, delete it.
Therefore, goto expression is no longer needed, so simplify it.

Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20201216130649.13979-1-zhengyongjun3@huawei.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 595a3341
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment