aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2023-01-10 10:54:08 +0800
committerJoerg Roedel <jroedel@suse.de>2023-01-13 16:39:18 +0100
commit8f9930fa016134ea07db4775ec596b16c3d03f05 (patch)
tree1463d22347c5e80ed4bee1cd14dd75a38a468142 /include/trace
parentiommu: Remove deferred attach check from __iommu_detach_device() (diff)
downloadlinux-8f9930fa016134ea07db4775ec596b16c3d03f05.tar.gz
linux-8f9930fa016134ea07db4775ec596b16c3d03f05.zip
iommu: Remove detach_dev callback
The detach_dev callback of domain ops is not called in the IOMMU core. Remove this callback to avoid dead code. The trace event for detaching domain from device is removed accordingly. Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Link: https://lore.kernel.org/r/20230110025408.667767-6-baolu.lu@linux.intel.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/iommu.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/trace/events/iommu.h b/include/trace/events/iommu.h
index 29096fe12623..70743db1fb75 100644
--- a/include/trace/events/iommu.h
+++ b/include/trace/events/iommu.h
@@ -76,13 +76,6 @@ DEFINE_EVENT(iommu_device_event, attach_device_to_domain,
TP_ARGS(dev)
);
-DEFINE_EVENT(iommu_device_event, detach_device_from_domain,
-
- TP_PROTO(struct device *dev),
-
- TP_ARGS(dev)
-);
-
TRACE_EVENT(map,
TP_PROTO(unsigned long iova, phys_addr_t paddr, size_t size),