Skip to content

Commit b70e553

Browse files
committed
vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
JIRA: https://issues.redhat.com/browse/RHEL-73613 commit e1bf0f2 Author: Dr. David Alan Gilbert <linux@treblig.org> Date: Sat Jul 27 17:03:06 2024 +0100 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> Signed-off-by: Donald Dutile <ddutile@redhat.com>
1 parent 4dfc6c4 commit b70e553

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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)