Skip to content

Commit e1bf0f2

Browse files
Dr. David Alan GilbertAlex Williamson
authored andcommitted
vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
'vfio_pci_mmap_vma' has been unused since commit aac6db7 ("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>
1 parent 431c164 commit e1bf0f2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/vfio/pci/vfio_pci_core.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ struct vfio_pci_vf_token {
5757
int users;
5858
};
5959

60-
struct vfio_pci_mmap_vma {
61-
struct vm_area_struct *vma;
62-
struct list_head vma_next;
63-
};
64-
6560
static inline bool vfio_vga_disabled(void)
6661
{
6762
#ifdef CONFIG_VFIO_PCI_VGA

0 commit comments

Comments
 (0)