summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorKeqian Zhu <zhukeqian1@huawei.com>2021-04-12 04:44:15 +0200
committerAlex Williamson <alex.williamson@redhat.com>2021-04-14 20:01:11 +0200
commit43dcf6ccf8953a868dfd194ff2fad279eb55883e (patch)
tree8e928717e135d3b08ae767b3f910fb565768aadd /drivers/vfio
parentvfio/mdev: Correct the function signatures for the mdev_type_attributes (diff)
downloadlinux-43dcf6ccf8953a868dfd194ff2fad279eb55883e.tar.xz
linux-43dcf6ccf8953a868dfd194ff2fad279eb55883e.zip
vfio/iommu_type1: Remove unused pinned_page_dirty_scope in vfio_iommu
pinned_page_dirty_scope is optimized out by commit 010321565a7d ("vfio/iommu_type1: Mantain a counter for non_pinned_groups"), but appears again due to some issues during merging branches. We can safely remove it here. Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com> Message-Id: <20210412024415.30676-1-zhukeqian1@huawei.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/vfio_iommu_type1.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfio/vfio_iommu_type1.c
index 53b4a6345a23..07296326d24d 100644
--- a/drivers/vfio/vfio_iommu_type1.c
+++ b/drivers/vfio/vfio_iommu_type1.c
@@ -77,7 +77,6 @@ struct vfio_iommu {
bool v2;
bool nesting;
bool dirty_page_tracking;
- bool pinned_page_dirty_scope;
bool container_open;
};