sched/cpufreq: Remove unused SUGOV_KTHREAD_PRIORITY macro

"Linux Kernel Mailing List" <[email protected]> Thu, 15 Feb 2018 17:37:49 +0000 (UTC)
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/43d1b29b27c76e7454cd6c85bec4d0e9cbb039f3
Commit:     43d1b29b27c76e7454cd6c85bec4d0e9cbb039f3
Parent:     269d599271fa604f09d5cb0093c5dd5d59964dd5
Refname:    refs/heads/master
Author:     Leo Yan <[email protected]>
AuthorDate: Thu Feb 8 21:48:22 2018 +0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue Feb 13 13:04:03 2018 +0100

    sched/cpufreq: Remove unused SUGOV_KTHREAD_PRIORITY macro
    
    Since schedutil kernel thread directly set priority to 0, the macro
    SUGOV_KTHREAD_PRIORITY is not used.  So remove it.
    
    Signed-off-by: Leo Yan <[email protected]>
    Acked-by: Viresh Kumar <[email protected]>
    Acked-by: Daniel Lezcano <[email protected]>
    Cc: Linus Torvalds <[email protected]>
    Cc: Peter Zijlstra <[email protected]>
    Cc: Rafael J . Wysocki <[email protected]>
    Cc: Thomas Gleixner <[email protected]>
    Cc: Vikram Mulukutla <[email protected]>
    Cc: Vincent Guittot <[email protected]>
    Link: http://lkml.kernel.org/r/[email protected]
    Signed-off-by: Ingo Molnar <[email protected]>
---
 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 dd062a1c8cf0..7936f548e071 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