diff options
author | Denis Efremov <efremov@linux.com> | 2020-06-04 15:37:09 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-06-30 10:47:38 +0200 |
commit | f5e383ac8b58f421ac0a005f6df4f2e9eefeb93f (patch) | |
tree | fd976dc49136895ba118ceab910497bc57fedcc1 /drivers/iommu/mtk_iommu.h | |
parent | 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68 (diff) |
iommu/pamu: Use kzfree() in fsl_pamu_probe()
Use kzfree() instead of opencoded memset with 0 followed by kfree().
Null check is not required since kzfree() checks for NULL internally.
Signed-off-by: Denis Efremov <efremov@linux.com>
Link: https://lore.kernel.org/r/20200604123709.96561-1-efremov@linux.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
0 files changed, 0 insertions, 0 deletions