diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-12-16 11:53:25 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-12-26 10:04:18 +0530 |
commit | b167f94d2928f3516176c8107cb698a6d9bb9911 (patch) | |
tree | 20793f06e527d6d7e741db3246a021f5e1ab1173 /net/x25/x25_dev.c | |
parent | 9f91e6bfa8666270565fb76d883db2ba2e441585 (diff) | |
download | lwn-b167f94d2928f3516176c8107cb698a6d9bb9911.tar.gz lwn-b167f94d2928f3516176c8107cb698a6d9bb9911.zip |
dmaengine: virt-dma: use vchan_vdesc_fini() to free descriptors
vchan_dma_desc_free_list() basically open codes vchan_vdesc_fini() in its
loop body. Call it directly rather than duplicating the code.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20191216105328.15198-7-s.hauer@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'net/x25/x25_dev.c')
0 files changed, 0 insertions, 0 deletions