commit | da6b05dce2a9c69880c3b9838938d5714703e80d | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Mon Sep 16 22:29:36 2019 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Tue Oct 15 11:50:27 2019 +0200 |
tree | 66ee711b4eeb774e59165231b09b6ca4b07d8ea8 | |
parent | 4f5cafb5cb8471e54afdc9054d973535614f7675 [diff] |
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>