mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 17:32:32 +00:00
The only iommu function call in this driver is a
tegra_dev_iommu_get_stream_id() which does not allocate anything and does
not take any reference.
So there is no point in calling iommu_fwspec_free() in the remove function.
Remove this incorrect function call.
Fixes: 0880bb3b00 ("crypto: tegra - Add Tegra Security Engine driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Tested-by: Akhil R <[email protected]>
Acked-by: Akhil R <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>