Skip to content

Commit e1bf0f2

Browse files
Dr. David Alan Gilbertawilliam
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 <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alex Williamson <[email protected]>
1 parent 431c164 commit e1bf0f2

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)