Re: [PATCH] ACPI: APEI: Remove a useless include
From: Rafael J. Wysocki
Date: Fri Dec 02 2022 - 14:20:05 EST
On Sat, Nov 26, 2022 at 12:31 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
>
> This file does not use rcu, so there is no point in including
> <linux/rculist.h>.
>
> So just remove it.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> drivers/acpi/apei/apei-base.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c
> index 02196a312dc5..c7c26872f4ce 100644
> --- a/drivers/acpi/apei/apei-base.c
> +++ b/drivers/acpi/apei/apei-base.c
> @@ -25,7 +25,6 @@
> #include <linux/slab.h>
> #include <linux/io.h>
> #include <linux/kref.h>
> -#include <linux/rculist.h>
> #include <linux/interrupt.h>
> #include <linux/debugfs.h>
> #include <acpi/apei.h>
> --
Applied as 6.2 material, thanks!