diff options
author | 2024-02-16 15:40:27 +0100 | |
---|---|---|
committer | 2024-03-01 13:47:01 +0100 | |
commit | b5a1f7513a2fcb1b9e646128ff0cb0dbba5ed6c1 (patch) | |
tree | 8ffb4dcf0a5827f72f9a7fa6b9d2f73ed6359abe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iommu: constify fwnode in iommu_ops_from_fwnode() (diff) | |
download | wireguard-linux-b5a1f7513a2fcb1b9e646128ff0cb0dbba5ed6c1.tar.xz wireguard-linux-b5a1f7513a2fcb1b9e646128ff0cb0dbba5ed6c1.zip |
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240216144027.185959-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions