diff mbox series

sched/cpufreq: Remove unused macro SUGOV_KTHREAD_PRIORITY

Message ID 1518097702-9665-1-git-send-email-leo.yan@linaro.org
State Accepted
Commit 43d1b29b27c76e7454cd6c85bec4d0e9cbb039f3
Headers show
Series sched/cpufreq: Remove unused macro SUGOV_KTHREAD_PRIORITY | expand

Commit Message

Leo Yan Feb. 8, 2018, 1:48 p.m. UTC
Since schedutil kernel thread directly set priority to 0, the macro
SUGOV_KTHREAD_PRIORITY is not used.  So remove it.

Cc: Vikram Mulukutla <markivx@codeaurora.org>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Leo Yan <leo.yan@linaro.org>

---
 kernel/sched/cpufreq_schedutil.c | 2 --
 1 file changed, 2 deletions(-)

-- 
2.7.4

Comments

Viresh Kumar Feb. 8, 2018, 2:04 p.m. UTC | #1
Forgot Cc'ing me ? :)

On Thu, Feb 8, 2018 at 7:18 PM, Leo Yan <leo.yan@linaro.org> wrote:
> Since schedutil kernel thread directly set priority to 0, the macro

> SUGOV_KTHREAD_PRIORITY is not used.  So remove it.

>

> Cc: Vikram Mulukutla <markivx@codeaurora.org>

> Cc: Vincent Guittot <vincent.guittot@linaro.org>

> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>

> Signed-off-by: Leo Yan <leo.yan@linaro.org>

> ---

>  kernel/sched/cpufreq_schedutil.c | 2 --

>  1 file changed, 2 deletions(-)


Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Daniel Lezcano Feb. 8, 2018, 2:06 p.m. UTC | #2
On 08/02/2018 14:48, Leo Yan wrote:
> Since schedutil kernel thread directly set priority to 0, the macro

> SUGOV_KTHREAD_PRIORITY is not used.  So remove it.

> 

> Cc: Vikram Mulukutla <markivx@codeaurora.org>

> Cc: Vincent Guittot <vincent.guittot@linaro.org>

> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>

> Signed-off-by: Leo Yan <leo.yan@linaro.org>


Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>



-- 
 <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Leo Yan Feb. 8, 2018, 3:23 p.m. UTC | #3
On Thu, Feb 08, 2018 at 07:34:54PM +0530, Viresh Kumar wrote:
> Forgot Cc'ing me ? :)


I meant to copy you, but I wrongly added Vikram :)

> On Thu, Feb 8, 2018 at 7:18 PM, Leo Yan <leo.yan@linaro.org> wrote:

> > Since schedutil kernel thread directly set priority to 0, the macro

> > SUGOV_KTHREAD_PRIORITY is not used.  So remove it.

> >

> > Cc: Vikram Mulukutla <markivx@codeaurora.org>

> > Cc: Vincent Guittot <vincent.guittot@linaro.org>

> > Cc: Daniel Lezcano <daniel.lezcano@linaro.org>

> > Signed-off-by: Leo Yan <leo.yan@linaro.org>

> > ---

> >  kernel/sched/cpufreq_schedutil.c | 2 --

> >  1 file changed, 2 deletions(-)

> 

> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>


Thanks for acking, Viresh and Daniel.
diff mbox series

Patch

diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c
index dd062a1..7936f54 100644
--- a/kernel/sched/cpufreq_schedutil.c
+++ b/kernel/sched/cpufreq_schedutil.c
@@ -19,8 +19,6 @@ 
 
 #include "sched.h"
 
-#define SUGOV_KTHREAD_PRIORITY	50
-
 struct sugov_tunables {
 	struct gov_attr_set attr_set;
 	unsigned int rate_limit_us;