Re: [PATCH 5/5] iommu/vt-d: Simplify check in identity_mapping()

From: Jerry Snitselaar
Date: Mon Feb 17 2020 - 14:54:59 EST


On Mon Feb 17 20, Joerg Roedel wrote:
From: Joerg Roedel <jroedel@xxxxxxx>

The function only has one call-site and there it is never called with
dummy or deferred devices. Simplify the check in the function to
account for that.

Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>

Reviewed-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx>