Lu Baolu b1cf1563f3 iommu/vt-d: Remove unnecessary domain_context_mapped()
The device_domain_info::domain accurately records the domain attached to
the device. It is unnecessary to check whether the context is present in
the attach_dev path. Remove it to make the code neat.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20221118132451.114406-7-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2022-11-22 14:05:22 +01:00
..
2022-09-09 09:26:22 +02:00
2022-09-09 09:26:22 +02:00
2021-04-07 10:54:29 +02:00
2022-09-07 14:26:17 +02:00
2022-09-07 14:26:17 +02:00
2022-09-07 14:26:17 +02:00
2022-09-07 14:26:17 +02:00