Re: [PATCH] cpufreq: sh: Remove unused linux/sched.h headers

From: Rafael J. Wysocki
Date: Mon Jun 07 2021 - 11:47:36 EST


On Mon, Jun 7, 2021 at 5:27 AM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> On 06-06-21, 19:58, Hailong Liu wrote:
> > From: Hailong Liu <liu.hailong6@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxx>
> > ---
> > 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@xxxxxxxxxx>

Applied as 5.14 material, thanks!