From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: tglx@linutronix.de, fei1.li@intel.com, linux-kernel@vger.kernel.org
Subject: Re: [REPOST PATCH] virt: acrn: Remove unused list 'acrn_irqfd_clients'
Date: Wed, 30 Apr 2025 12:25:44 +0000 [thread overview]
Message-ID: <aBIWyN3xrUIbLQU1@gallifrey> (raw)
In-Reply-To: <2025043030-theology-driveway-20b8@gregkh>
* Greg KH (gregkh@linuxfoundation.org) wrote:
> On Wed, Apr 30, 2025 at 01:36:23AM +0100, linux@treblig.org wrote:
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> >
> > It doesn't look like this was ever used.
> >
> > Build tested only.
> >
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> > Acked-by: Fei Li <fei1.li@intel.com>
> > ---
> > This is a repost of the patch originally posted last in May
> > last year as id 20240504174725.93495-1-linux@treblig.org and
> > Ack'd by Fei Li on 20th May, in Zkq183IzBA6cV9FE@louislifei-OptiPlex-7090
> > No one picked it up.
> > (Fixed one typo in the subject line)
> >
> > drivers/virt/acrn/irqfd.c | 2 --
> > 1 file changed, 2 deletions(-)
> >
> > diff --git a/drivers/virt/acrn/irqfd.c b/drivers/virt/acrn/irqfd.c
> > index b7da24ca1475..64d32c8fbf79 100644
> > --- a/drivers/virt/acrn/irqfd.c
> > +++ b/drivers/virt/acrn/irqfd.c
> > @@ -16,8 +16,6 @@
> >
> > #include "acrn_drv.h"
> >
> > -static LIST_HEAD(acrn_irqfd_clients);
> > -
>
> Odd, why doesn't the compiler complain about this?
Because it is used - by its own initialiser!
I filed a gcc bug for it:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115027
and someone has written a patch but it hasn't gone further.
> I'll queue it up in a bit, thanks!
Thanks!
Dave
> greg k-h
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
prev parent reply other threads:[~2025-04-30 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-30 0:36 [REPOST PATCH] virt: acrn: Remove unused list 'acrn_irqfd_clients' linux
2025-04-30 7:25 ` Greg KH
2025-04-30 12:25 ` Dr. David Alan Gilbert [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=aBIWyN3xrUIbLQU1@gallifrey \
--to=linux@treblig.org \
--cc=fei1.li@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
/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