commit | f5e383ac8b58f421ac0a005f6df4f2e9eefeb93f | [log] [tgz] |
---|---|---|
author | Denis Efremov <efremov@linux.com> | Thu Jun 04 15:37:09 2020 +0300 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Jun 30 10:47:38 2020 +0200 |
tree | fd976dc49136895ba118ceab910497bc57fedcc1 | |
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>