summaryrefslogtreecommitdiffstats
path: root/kernel/sched/debug.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-09-22 18:14:08 +0200
committerIngo Molnar <mingo@kernel.org>2017-09-29 10:09:09 +0200
commit65d5dc47fe8530e17e318722fb4df676536c2bfc (patch)
treeb904d0343ad0fc90813020b82a15f62c4e1a36d9 /kernel/sched/debug.c
parentsched/debug: Convert TASK_state to hex (diff)
downloadlinux-65d5dc47fe8530e17e318722fb4df676536c2bfc.tar.xz
linux-65d5dc47fe8530e17e318722fb4df676536c2bfc.zip
sched/debug: Remove unused variable
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to '')
-rw-r--r--kernel/sched/debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
index 01217fb5a5de..2f93e4a2d9f6 100644
--- a/kernel/sched/debug.c
+++ b/kernel/sched/debug.c
@@ -466,8 +466,6 @@ static char *task_group_path(struct task_group *tg)
}
#endif
-static const char stat_nam[] = TASK_STATE_TO_CHAR_STR;
-
static void
print_task(struct seq_file *m, struct rq *rq, struct task_struct *p)
{