RE: [PATCH 6/7] iommu/vt-d: Remove unnecessary domain_context_mapped()

From: Tian, Kevin
Date: Thu Nov 03 2022 - 22:19:55 EST


> From: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
> Sent: Thursday, November 3, 2022 1:53 PM
>
> 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@xxxxxxxxxxxxxxx>

Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>