diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2022-11-22 08:29:48 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-11-22 14:05:22 +0100 |
commit | b1cf1563f3b7396a2cb76b12b3bcdd7046b46372 (patch) | |
tree | 0711a9c71e62c501d10f41d06d8b24a1a5166652 /drivers/iio/light/apds9960.c | |
parent | a8204479f284a9d21c22e2fd7c9f7564b5828553 (diff) |
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>
Diffstat (limited to 'drivers/iio/light/apds9960.c')
0 files changed, 0 insertions, 0 deletions