From: Thomas Huth <thuth@redhat.com>
To: dave@treblig.org, elena.ufimtseva@oracle.com,
jag.raman@oracle.com, qemu-devel@nongnu.org,
QEMU Trivial <qemu-trivial@nongnu.org>
Subject: Re: [PATCH] remote: Remove unused remote_iohub_finalize
Date: Wed, 2 Oct 2024 12:41:07 +0200 [thread overview]
Message-ID: <2149788c-ea6a-4e6c-be95-b4daa5c5aefe@redhat.com> (raw)
In-Reply-To: <20240919165852.322707-1-dave@treblig.org>
On 19/09/2024 18.58, dave@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <dave@treblig.org>
>
> remote_iohub_finalize has never been used.
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
> ---
> hw/remote/iohub.c | 13 -------------
> include/hw/remote/iohub.h | 1 -
> 2 files changed, 14 deletions(-)
>
> diff --git a/hw/remote/iohub.c b/hw/remote/iohub.c
> index 40dfee4bad..988d3285cc 100644
> --- a/hw/remote/iohub.c
> +++ b/hw/remote/iohub.c
> @@ -33,19 +33,6 @@ void remote_iohub_init(RemoteIOHubState *iohub)
> }
> }
>
> -void remote_iohub_finalize(RemoteIOHubState *iohub)
> -{
> - int pirq;
> -
> - for (pirq = 0; pirq < REMOTE_IOHUB_NB_PIRQS; pirq++) {
> - qemu_set_fd_handler(event_notifier_get_fd(&iohub->resamplefds[pirq]),
> - NULL, NULL, NULL);
> - event_notifier_cleanup(&iohub->irqfds[pirq]);
> - event_notifier_cleanup(&iohub->resamplefds[pirq]);
> - qemu_mutex_destroy(&iohub->irq_level_lock[pirq]);
> - }
> -}
> -
> int remote_iohub_map_irq(PCIDevice *pci_dev, int intx)
> {
> return pci_dev->devfn;
> diff --git a/include/hw/remote/iohub.h b/include/hw/remote/iohub.h
> index 6a8444f9a9..09ee6c77b6 100644
> --- a/include/hw/remote/iohub.h
> +++ b/include/hw/remote/iohub.h
> @@ -37,6 +37,5 @@ void remote_iohub_set_irq(void *opaque, int pirq, int level);
> void process_set_irqfd_msg(PCIDevice *pci_dev, MPQemuMsg *msg);
>
> void remote_iohub_init(RemoteIOHubState *iohub);
> -void remote_iohub_finalize(RemoteIOHubState *iohub);
>
> #endif
Reviewed-by: Thomas Huth <thuth@redhat.com>
prev parent reply other threads:[~2024-10-02 10:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-19 16:58 [PATCH] remote: Remove unused remote_iohub_finalize dave
2024-09-19 17:07 ` Jag Raman
2024-10-02 10:41 ` Thomas Huth [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=2149788c-ea6a-4e6c-be95-b4daa5c5aefe@redhat.com \
--to=thuth@redhat.com \
--cc=dave@treblig.org \
--cc=elena.ufimtseva@oracle.com \
--cc=jag.raman@oracle.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.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;
as well as URLs for NNTP newsgroup(s).