diff mbox series

ACPI: APEI: Remove a useless include

Message ID f619bc0b58a70e1cd1942b3db3716d6f9b261666.1669462247.git.christophe.jaillet@wanadoo.fr
State Accepted
Commit 89da5c476dd55c49590d8eaf1c04ab96dd7b9870
Headers show
Series ACPI: APEI: Remove a useless include | expand

Commit Message

Christophe JAILLET Nov. 26, 2022, 11:30 a.m. UTC
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@wanadoo.fr>
---
 drivers/acpi/apei/apei-base.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Rafael J. Wysocki Dec. 2, 2022, 7:19 p.m. UTC | #1
On Sat, Nov 26, 2022 at 12:31 PM Christophe JAILLET
<christophe.jaillet@wanadoo.fr> 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@wanadoo.fr>
> ---
>  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!
diff mbox series

Patch

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>