diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-09-16 23:29:36 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-10-15 12:50:27 +0300 |
commit | da6b05dce2a9c69880c3b9838938d5714703e80d (patch) | |
tree | 66ee711b4eeb774e59165231b09b6ca4b07d8ea8 /drivers/iommu/Kconfig | |
parent | 4f5cafb5cb8471e54afdc9054d973535614f7675 (diff) | |
download | linux-da6b05dce2a9c69880c3b9838938d5714703e80d.tar.xz |
iommu/qcom: Simplify a test in 'qcom_iommu_add_device()'
'iommu_group_get_for_dev()' never returns NULL, so this test can be
simplified a bit.
This way, the test is consistent with all other calls to
'iommu_group_get_for_dev()'.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
0 files changed, 0 insertions, 0 deletions