Skip to content
Commit b5a1f751 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Joerg Roedel
Browse files

iommu: re-use local fwnode variable in iommu_ops_from_fwnode()



iommu_ops_from_fwnode() stores &iommu_spec->np->fwnode in local
variable, so use it to simplify the code (iommu_spec is not changed
between these dereferences).

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240216144027.185959-4-krzysztof.kozlowski@linaro.org


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