From: Alex Williamson <alex.williamson@redhat.com>
To: linux@treblig.org
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma'
Date: Tue, 3 Sep 2024 12:46:26 -0600 [thread overview]
Message-ID: <20240903124626.3675ae86.alex.williamson@redhat.com> (raw)
In-Reply-To: <20240727160307.1000476-1-linux@treblig.org>
On Sat, 27 Jul 2024 17:03:06 +0100
linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> '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 <linux@treblig.org>
> ---
> drivers/vfio/pci/vfio_pci_core.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/vfio/pci/vfio_pci_core.c b/drivers/vfio/pci/vfio_pci_core.c
> index ba0ce0075b2f..2127b82d301a 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
Applied to vfio next branch for v6.12. Thanks!
Alex
prev parent reply other threads:[~2024-09-03 18:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-27 16:03 [PATCH] vfio/pci: Remove unused struct 'vfio_pci_mmap_vma' linux
2024-07-30 13:14 ` Jason Gunthorpe
2024-07-31 5:55 ` Tian, Kevin
2024-09-03 18:46 ` Alex Williamson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240903124626.3675ae86.alex.williamson@redhat.com \
--to=alex.williamson@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@treblig.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox