mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched/cpufreq: Remove unused macro SUGOV_KTHREAD_PRIORITY
@ 2018-02-08 13:48 Leo Yan
  2018-02-08 14:04 ` Viresh Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Leo Yan @ 2018-02-08 13:48 UTC (permalink / raw)
  To: linux-kernel, Ingo Molnar, Peter Zijlstra, Rafael J . Wysocki
  Cc: Leo Yan, Vikram Mulukutla, Vincent Guittot, Daniel Lezcano

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(-)

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;
-- 
2.7.4

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

end of thread, other threads:[~2018-02-13 12:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-08 13:48 [PATCH] sched/cpufreq: Remove unused macro SUGOV_KTHREAD_PRIORITY Leo Yan
2018-02-08 14:04 ` Viresh Kumar
2018-02-08 15:23   ` Leo Yan
2018-02-08 14:06 ` Daniel Lezcano
2018-02-13 12:15 ` [tip:sched/urgent] sched/cpufreq: Remove unused SUGOV_KTHREAD_PRIORITY macro tip-bot for Leo Yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®