From: Dr. David Alan Gilbert Date: Sat, 27 Jul 2024 16:03:06 +0000 (+0100) Subject: vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' X-Git-Tag: v6.12-rc1~69^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1bf0f2ac949559a0b0720eaee252ae451e61acd;p=thirdparty%2Fkernel%2Flinux.git vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' '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 Reviewed-by: Jason Gunthorpe Reviewed-by: Kevin Tian Link: https://lore.kernel.org/r/20240727160307.1000476-1-linux@treblig.org Signed-off-by: Alex Williamson --- diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c index ba0ce0075b2fb..2127b82d301a2 100644 --- a/drivers/vfio/pci/vfio_pci_core.c +++ b/drivers/vfio/pci/vfio_pci_core.c @@ -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