]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Remove duplicate identity domain flag
authorLu Baolu <baolu.lu@linux.intel.com>
Thu, 14 Oct 2021 05:38:33 +0000 (13:38 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 18 Oct 2021 10:31:48 +0000 (12:31 +0200)
commitb3fdd945495a5e5a7298275fe359c9660fb640dc
tree2fe0a6aa68afc423daabef69136048c6c359ee83
parent8d52becab23773c35c2c1353319bd5d9b6f809d8
iommu/vt-d: Remove duplicate identity domain flag

The iommu_domain data structure already has the "type" field to keep the
type of a domain. It's unnecessary to have the DOMAIN_FLAG_STATIC_IDENTITY
flag in the vt-d implementation. This cleans it up with no functionality
change.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20210926114535.923263-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20211014053839.727419-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c
include/linux/intel-iommu.h