All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: sh: Remove unused linux/sched.h headers
@ 2021-06-06 11:58 Hailong Liu
  2021-06-07  3:27 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Hailong Liu @ 2021-06-06 11:58 UTC (permalink / raw)
  To: Rafael J . Wysocki, Viresh Kumar; +Cc: linux-pm, linux-kernel, Hailong Liu

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>
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpufreq: sh: Remove unused linux/sched.h headers
  2021-06-06 11:58 [PATCH] cpufreq: sh: Remove unused linux/sched.h headers Hailong Liu
@ 2021-06-07  3:27 ` Viresh Kumar
  2021-06-07 15:47   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2021-06-07  3:27 UTC (permalink / raw)
  To: Hailong Liu; +Cc: Rafael J . Wysocki, linux-pm, linux-kernel, Hailong Liu

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cpufreq: sh: Remove unused linux/sched.h headers
  2021-06-07  3:27 ` Viresh Kumar
@ 2021-06-07 15:47   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2021-06-07 15:47 UTC (permalink / raw)
  To: Viresh Kumar, Hailong Liu
  Cc: Rafael J . Wysocki, Linux PM, Linux Kernel Mailing List, Hailong Liu

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-07 15:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06 11:58 [PATCH] cpufreq: sh: Remove unused linux/sched.h headers Hailong Liu
2021-06-07  3:27 ` Viresh Kumar
2021-06-07 15:47   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.