Commit e1bf0f2a authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Alex Williamson

vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'

'vfio_pci_mmap_vma' has been unused since
commit aac6db75 ("vfio/pci: Use unmap_mapping_range()")

Remove it.
Signed-off-by: default avatarDr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
Link: https://lore.kernel.org/r/20240727160307.1000476-1-linux@treblig.orgSigned-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 431c1646
...@@ -57,11 +57,6 @@ struct vfio_pci_vf_token { ...@@ -57,11 +57,6 @@ struct vfio_pci_vf_token {
int users; int users;
}; };
struct vfio_pci_mmap_vma {
struct vm_area_struct *vma;
struct list_head vma_next;
};
static inline bool vfio_vga_disabled(void) static inline bool vfio_vga_disabled(void)
{ {
#ifdef CONFIG_VFIO_PCI_VGA #ifdef CONFIG_VFIO_PCI_VGA
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment