vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
Subsystems (2)
PATCH 1/1 vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
From: "Dr. David Alan Gilbert" <[email protected]>
'vfio_pci_mmap_vma' has been unused since
commit aac6db75a9fc ("vfio/pci: Use unmap_mapping_range()")
Remove it.
--- drivers/vfio/pci/vfio_pci_core.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/vfio/pci/vfio_pci_core.c +0 -5
@@ -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
Signature · 1 line
2.45.2
Quoted 11 lines · On Sat, Jul 27, 2024 at 05:03:06PM +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
vfio_pci_mmap_vma' has been unused since
commitaac6db75a9fc("vfio/pci: Useunmap_mapping_range()")Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/vfio/pci/vfio_pci_core.c | 5 ----- 1 file changed, 5 deletions(-)
Jason
Quoted 11 lines
From: [email protected] <[email protected]>
Sent: Sunday, July 28, 2024 12:03 AMFrom: "Dr. David Alan Gilbert" <[email protected]>
'
vfio_pci_mmap_vma' has been unused since
commitaac6db75a9fc("vfio/pci: Useunmap_mapping_range()")Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>
Alex Williamson
AppliedQuoted 18 lines · On Sat, 27 Jul 2024 17:03:06 +0100 [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
vfio_pci_mmap_vma' has been unused since
commitaac6db75a9fc("vfio/pci: Useunmap_mapping_range()")Remove it.
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- drivers/vfio/pci/vfio_pci_core.c | 5 ----- 1 file changed, 5 deletions(-)drivers/vfio/pci/vfio_pci_core.c +0
-0@@ -57,11 +57,6 @@ struct vfio_pci_vf_token {int users;
drivers/vfio/pci/vfio_pci_core.c struct vfio_pci_vf_token { · line 62
Quoted 10 lines
drivers/vfio/pci/vfio_pci_core.c +0
-5}; -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
Applied to vfio next branch for v6.12. Thanks!
Alex