Message ID | 20210606115828.27020-1-liuhailongg6@163.com |
---|---|
State | New |
Headers | show |
Series | cpufreq: sh: Remove unused linux/sched.h headers | expand |
On 06-06-21, 19:58, Hailong Liu wrote: > From: Hailong Liu <liu.hailong6@zte.com.cn> > > Since commit '205dcc1ecbc5(cpufreq/sh: Replace racy task affinity logic)' > the header <linux/sched.h> is useless in sh-cpufreq.c, so remove it. > > Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn> > --- > drivers/cpufreq/sh-cpufreq.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/cpufreq/sh-cpufreq.c b/drivers/cpufreq/sh-cpufreq.c > index 0ac265d47ef0..1a251e635ebd 100644 > --- a/drivers/cpufreq/sh-cpufreq.c > +++ b/drivers/cpufreq/sh-cpufreq.c > @@ -23,7 +23,6 @@ > #include <linux/cpumask.h> > #include <linux/cpu.h> > #include <linux/smp.h> > -#include <linux/sched.h> /* set_cpus_allowed() */ > #include <linux/clk.h> > #include <linux/percpu.h> > #include <linux/sh_clk.h> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- viresh
On Mon, Jun 7, 2021 at 5:27 AM Viresh Kumar <viresh.kumar@linaro.org> wrote: > > On 06-06-21, 19:58, Hailong Liu wrote: > > From: Hailong Liu <liu.hailong6@zte.com.cn> > > > > Since commit '205dcc1ecbc5(cpufreq/sh: Replace racy task affinity logic)' > > the header <linux/sched.h> is useless in sh-cpufreq.c, so remove it. > > > > Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn> > > --- > > drivers/cpufreq/sh-cpufreq.c | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/cpufreq/sh-cpufreq.c b/drivers/cpufreq/sh-cpufreq.c > > index 0ac265d47ef0..1a251e635ebd 100644 > > --- a/drivers/cpufreq/sh-cpufreq.c > > +++ b/drivers/cpufreq/sh-cpufreq.c > > @@ -23,7 +23,6 @@ > > #include <linux/cpumask.h> > > #include <linux/cpu.h> > > #include <linux/smp.h> > > -#include <linux/sched.h> /* set_cpus_allowed() */ > > #include <linux/clk.h> > > #include <linux/percpu.h> > > #include <linux/sh_clk.h> > > Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Applied as 5.14 material, thanks!
diff --git a/drivers/cpufreq/sh-cpufreq.c b/drivers/cpufreq/sh-cpufreq.c index 0ac265d47ef0..1a251e635ebd 100644 --- a/drivers/cpufreq/sh-cpufreq.c +++ b/drivers/cpufreq/sh-cpufreq.c @@ -23,7 +23,6 @@ #include <linux/cpumask.h> #include <linux/cpu.h> #include <linux/smp.h> -#include <linux/sched.h> /* set_cpus_allowed() */ #include <linux/clk.h> #include <linux/percpu.h> #include <linux/sh_clk.h>