diff options
author | Dr. David Alan Gilbert <linux@treblig.org> | 2024-07-27 17:03:06 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2024-09-03 08:42:06 -0600 |
commit | e1bf0f2ac949559a0b0720eaee252ae451e61acd (patch) | |
tree | b594eaecbc85f0a86b4787febcbfcafd8a2b7542 /drivers/vfio/pci | |
parent | 431c1646e1f86b949fa3685efc50b660a364c2b6 (diff) |
vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
'vfio_pci_mmap_vma' has been unused since
commit aac6db75a9fc ("vfio/pci: Use unmap_mapping_range()")
Remove it.
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240727160307.1000476-1-linux@treblig.org
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/pci')
-rw-r--r-- | drivers/vfio/pci/vfio_pci_core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c index ba0ce0075b2f..2127b82d301a 100644 --- a/drivers/vfio/pci/vfio_pci_core.c +++ b/drivers/vfio/pci/vfio_pci_core.c @@ -57,11 +57,6 @@ struct vfio_pci_vf_token { int users; }; -struct vfio_pci_mmap_vma { - struct vm_area_struct *vma; - struct list_head vma_next; -}; - static inline bool vfio_vga_disabled(void) { #ifdef CONFIG_VFIO_PCI_VGA |