lkml.org 
[lkml]   [2021]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cpufreq: sh: Remove unused linux/sched.h headers
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

\
 
 \ /
  Last update: 2021-06-07 05:27    [W:0.173 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site