2024-05-04 17:47:45

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: [PATCH] virt: acrn: Remove unusted list 'acrn_irqfd_clients'

From: "Dr. David Alan Gilbert" <[email protected]>

It doesn't look like this was ever used.

Build tested only.

Signed-off-by: Dr. David Alan Gilbert <[email protected]>
---
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 d4ad211dce7a3..346cf0be4aac7 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.45.0



2024-05-18 00:13:00

by Dr. David Alan Gilbert

[permalink] [raw]
Subject: Re: [PATCH] virt: acrn: Remove unusted list 'acrn_irqfd_clients'

* [email protected] ([email protected]) wrote:
> From: "Dr. David Alan Gilbert" <[email protected]>
>
> It doesn't look like this was ever used.
>
> Build tested only.
>
> Signed-off-by: Dr. David Alan Gilbert <[email protected]>

Ping

> ---
> 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 d4ad211dce7a3..346cf0be4aac7 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.45.0
>
--
-----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 |_______/

2024-05-20 02:07:54

by Fei Li

[permalink] [raw]
Subject: Re: [PATCH] virt: acrn: Remove unusted list 'acrn_irqfd_clients'

On 2024-05-18 at 00:12:46 +0000, Dr. David Alan Gilbert wrote:
> * [email protected] ([email protected]) wrote:
> > From: "Dr. David Alan Gilbert" <[email protected]>
> >
> > It doesn't look like this was ever used.
> >
> > Build tested only.
> >
> > Signed-off-by: Dr. David Alan Gilbert <[email protected]>
>
> Ping

Acked-by: Fei Li <[email protected]>

Thanks.

>
> > ---
> > 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 d4ad211dce7a3..346cf0be4aac7 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.45.0
> >
> --
> -----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 |_______/
>