* [REPOST PATCH] virt: acrn: Remove unused list 'acrn_irqfd_clients'
@ 2025-04-30 0:36 linux
2025-04-30 7:25 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: linux @ 2025-04-30 0:36 UTC (permalink / raw)
To: gregkh, tglx, fei1.li; +Cc: linux-kernel, Dr. David Alan Gilbert
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);
-
/**
* struct hsm_irqfd - Properties of HSM irqfd
* @vm: Associated VM pointer
--
2.49.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [REPOST PATCH] virt: acrn: Remove unused list 'acrn_irqfd_clients'
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
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2025-04-30 7:25 UTC (permalink / raw)
To: linux; +Cc: tglx, fei1.li, linux-kernel
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?
I'll queue it up in a bit, thanks!
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [REPOST PATCH] virt: acrn: Remove unused list 'acrn_irqfd_clients'
2025-04-30 7:25 ` Greg KH
@ 2025-04-30 12:25 ` Dr. David Alan Gilbert
0 siblings, 0 replies; 3+ messages in thread
From: Dr. David Alan Gilbert @ 2025-04-30 12:25 UTC (permalink / raw)
To: Greg KH; +Cc: tglx, fei1.li, linux-kernel
* 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 |_______/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-30 12:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.