Commit 5c5332a6 authored by Satendra Singh Thakur's avatar Satendra Singh Thakur Committed by Vinod Koul
Browse files

dmaengine: zx: remove: removed dmam_pool_destroy



In the probe method dmam_pool_create is used. Therefore, there is no
need to explicitly call dmam_pool_destroy in remove method as this
will be automatically taken care by devres

Signed-off-by: default avatarSatendra Singh Thakur <sst2005@gmail.com>
Link: https://lore.kernel.org/r/20191109113609.6159-1-sst2005@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 1ff95243
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -889,7 +889,6 @@ static int zx_dma_remove(struct platform_device *op)
		list_del(&c->vc.chan.device_node);
	}
	clk_disable_unprepare(d->clk);
	dmam_pool_destroy(d->pool);

	return 0;
}