]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
authorDr. David Alan Gilbert <linux@treblig.org>
Sat, 27 Jul 2024 16:03:06 +0000 (17:03 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 3 Sep 2024 14:42:06 +0000 (08:42 -0600)
'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>
drivers/vfio/pci/vfio_pci_core.c

index ba0ce0075b2fb164a5b8ac7d4aa07a53d2b4beb6..2127b82d301a25a06abbb1a8f153b395ebec240d 100644 (file)
@@ -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