File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -2853,17 +2853,6 @@ EXPORT_SYMBOL_GPL(iommu_fwspec_add_ids);
2853
2853
/*
2854
2854
* Per device IOMMU features.
2855
2855
*/
2856
- bool iommu_dev_has_feature (struct device * dev , enum iommu_dev_features feat )
2857
- {
2858
- const struct iommu_ops * ops = dev -> bus -> iommu_ops ;
2859
-
2860
- if (ops && ops -> dev_has_feat )
2861
- return ops -> dev_has_feat (dev , feat );
2862
-
2863
- return false;
2864
- }
2865
- EXPORT_SYMBOL_GPL (iommu_dev_has_feature );
2866
-
2867
2856
int iommu_dev_enable_feature (struct device * dev , enum iommu_dev_features feat )
2868
2857
{
2869
2858
const struct iommu_ops * ops = dev -> bus -> iommu_ops ;
Original file line number Diff line number Diff line change @@ -626,7 +626,6 @@ static inline void dev_iommu_priv_set(struct device *dev, void *priv)
626
626
int iommu_probe_device (struct device * dev );
627
627
void iommu_release_device (struct device * dev );
628
628
629
- bool iommu_dev_has_feature (struct device * dev , enum iommu_dev_features f );
630
629
int iommu_dev_enable_feature (struct device * dev , enum iommu_dev_features f );
631
630
int iommu_dev_disable_feature (struct device * dev , enum iommu_dev_features f );
632
631
bool iommu_dev_feature_enabled (struct device * dev , enum iommu_dev_features f );
@@ -975,12 +974,6 @@ const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode)
975
974
return NULL ;
976
975
}
977
976
978
- static inline bool
979
- iommu_dev_has_feature (struct device * dev , enum iommu_dev_features feat )
980
- {
981
- return false;
982
- }
983
-
984
977
static inline bool
985
978
iommu_dev_feature_enabled (struct device * dev , enum iommu_dev_features feat )
986
979
{
You can’t perform that action at this time.
0 commit comments