diff options
author | Lu Baolu <[email protected]> | 2022-11-22 08:29:48 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2022-11-22 14:05:22 +0100 |
commit | b1cf1563f3b7396a2cb76b12b3bcdd7046b46372 (patch) | |
tree | 0711a9c71e62c501d10f41d06d8b24a1a5166652 /scripts/generate_rust_analyzer.py | |
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 <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions