Skip to content
Commit 67560edc authored by Will Deacon's avatar Will Deacon
Browse files

iommu/arm-smmu-v3: Make arm_smmu_install_ste_for_dev return void



arm_smmu_install_ste_for_dev cannot fail and always returns 0, however
the fact that it returns int means that callers end up implementing
redundant error handling code which complicates STE tracking and is
never executed.

This patch changes the return type of arm_smmu_install_ste_for_dev
to void, to make it explicit that it cannot fail.

Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 61bc6711
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment