Re: [PATCH] cpufreq: sh: Remove unused linux/sched.h headers
From: Viresh Kumar
Date: Sun Jun 06 2021 - 23:27:31 EST
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>
--
viresh