summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-07 19:18:33 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-07 19:18:33 +0200
commitd354d2f4a6fc1b722c2e464a8b3cfd2f6afb304b (patch)
treef2e31a10732d1d8744b690fbb4dd7da1829f1575 /kernel/sched.c
parent[PATCH] sched: get rid of p->children use in show_task() (diff)
downloadlinux-d354d2f4a6fc1b722c2e464a8b3cfd2f6afb304b.tar.xz
linux-d354d2f4a6fc1b722c2e464a8b3cfd2f6afb304b.zip
sched.c: Remove unused variable 'relative'
Getting rid of the p->children printout in show_task() left behind an unused variable. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--kernel/sched.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index cdad3b04242a..b9a683730148 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4691,7 +4691,6 @@ static const char stat_nam[] = "RSDTtZX";
static void show_task(struct task_struct *p)
{
- struct task_struct *relative;
unsigned long free = 0;
unsigned state;