diff options
| author | Christoph Hellwig <[email protected]> | 2022-07-08 10:06:13 +0200 |
|---|---|---|
| committer | Joerg Roedel <[email protected]> | 2022-07-15 10:13:44 +0200 |
| commit | 309c56e84602d894e7ca424b0b13837117568fca (patch) | |
| tree | 6ab320f3a1122e8ad7684d158e5c36e4ce6273a4 /include/linux | |
| parent | b4c9bf178ace26c52c9cac36f265ba95132a221d (diff) | |
iommu: remove the unused dev_has_feat method
This method is never actually called.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Lu Baolu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/iommu.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/iommu.h b/include/linux/iommu.h index e6abd998dbe7..a3acdb46b939 100644 --- a/include/linux/iommu.h +++ b/include/linux/iommu.h @@ -164,8 +164,7 @@ struct iommu_iort_rmr_data { * supported, this feature must be enabled before and * disabled after %IOMMU_DEV_FEAT_SVA. * - * Device drivers query whether a feature is supported using - * iommu_dev_has_feature(), and enable it using iommu_dev_enable_feature(). + * Device drivers enable a feature using iommu_dev_enable_feature(). */ enum iommu_dev_features { IOMMU_DEV_FEAT_SVA, @@ -248,7 +247,6 @@ struct iommu_ops { bool (*is_attach_deferred)(struct device *dev); /* Per device IOMMU features */ - bool (*dev_has_feat)(struct device *dev, enum iommu_dev_features f); bool (*dev_feat_enabled)(struct device *dev, enum iommu_dev_features f); int (*dev_enable_feat)(struct device *dev, enum iommu_dev_features f); int (*dev_disable_feat)(struct device *dev, enum iommu_dev_features f); |