diff mbox series

CPUFREQ: loongson2: Remove unused linux/sched.h headers

Message ID 20210603135752.30162-1-liuhailongg6@163.com (mailing list archive)
State Awaiting Upstream
Delegated to: Rafael Wysocki
Headers show
Series CPUFREQ: loongson2: Remove unused linux/sched.h headers | expand

Commit Message

Hailong Liu June 3, 2021, 1:57 p.m. UTC
From: Hailong Liu <liu.hailong6@zte.com.cn>

Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()),
the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it.

Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
---
 drivers/cpufreq/loongson2_cpufreq.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Viresh Kumar June 4, 2021, 3:47 a.m. UTC | #1
On 03-06-21, 21:57, Hailong Liu wrote:
> From: Hailong Liu <liu.hailong6@zte.com.cn>
> 
> Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()),
> the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it.
> 
> Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
> ---
>  drivers/cpufreq/loongson2_cpufreq.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
> index d05e761d9572..afc59b292153 100644
> --- a/drivers/cpufreq/loongson2_cpufreq.c
> +++ b/drivers/cpufreq/loongson2_cpufreq.c
> @@ -16,7 +16,6 @@
>  #include <linux/cpufreq.h>
>  #include <linux/module.h>
>  #include <linux/err.h>
> -#include <linux/sched.h>	/* set_cpus_allowed() */
>  #include <linux/delay.h>
>  #include <linux/platform_device.h>

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Rafael J. Wysocki June 7, 2021, 3:48 p.m. UTC | #2
On Fri, Jun 4, 2021 at 5:48 AM Viresh Kumar <viresh.kumar@linaro.org> wrote:
>
> On 03-06-21, 21:57, Hailong Liu wrote:
> > From: Hailong Liu <liu.hailong6@zte.com.cn>
> >
> > Since commit 759f534e93ac(CPUFREQ: Loongson2: drop set_cpus_allowed_ptr()),
> > the header <linux/sched.h> is useless in oongson2_cpufreq.c, so remove it.
> >
> > Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
> > ---
> >  drivers/cpufreq/loongson2_cpufreq.c | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
> > index d05e761d9572..afc59b292153 100644
> > --- a/drivers/cpufreq/loongson2_cpufreq.c
> > +++ b/drivers/cpufreq/loongson2_cpufreq.c
> > @@ -16,7 +16,6 @@
> >  #include <linux/cpufreq.h>
> >  #include <linux/module.h>
> >  #include <linux/err.h>
> > -#include <linux/sched.h>     /* set_cpus_allowed() */
> >  #include <linux/delay.h>
> >  #include <linux/platform_device.h>
>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Applied as 5.14 material, thanks!
diff mbox series

Patch

diff --git a/drivers/cpufreq/loongson2_cpufreq.c b/drivers/cpufreq/loongson2_cpufreq.c
index d05e761d9572..afc59b292153 100644
--- a/drivers/cpufreq/loongson2_cpufreq.c
+++ b/drivers/cpufreq/loongson2_cpufreq.c
@@ -16,7 +16,6 @@ 
 #include <linux/cpufreq.h>
 #include <linux/module.h>
 #include <linux/err.h>
-#include <linux/sched.h>	/* set_cpus_allowed() */
 #include <linux/delay.h>
 #include <linux/platform_device.h>