Skip to content
Commit e86b041f authored by Zhen Lei's avatar Zhen Lei Committed by Joerg Roedel
Browse files

iommu: Delete a duplicate check in iommu_change_dev_def_domain()



Function iommu_group_store_type() is the only caller of the static
function iommu_change_dev_def_domain() and has performed
"if (WARN_ON(!group))" detection before calling it. So the one here is
redundant.

Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20210513075815.6382-1-thunder.leizhen@huawei.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 7154cbd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment