Message ID | f619bc0b58a70e1cd1942b3db3716d6f9b261666.1669462247.git.christophe.jaillet@wanadoo.fr (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
Series | ACPI: APEI: Remove a useless include | expand |
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 --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>
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(-)