summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-19 16:02:26 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-01-19 16:02:26 -0800
commit5d4564e68210e4b1edb3f013bc3e59982bb35737 (patch)
tree36c2355255f52a9015c0eafb093ae6ad1e0ed488 /kernel
parent8a4f2189be5c5c1fe13bc68810da0163f1c8ff88 (diff)
Remove old debugging tests.
They had their time and place, but right now they are using infrastructure that is getting re-done, and we're better off just dropping them.
Diffstat (limited to 'kernel')
-rw-r--r--kernel/exit.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 3171228f25c3..f40a50f69850 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -858,13 +858,6 @@ asmlinkage long sys_exit(int error_code)
task_t fastcall *next_thread(const task_t *p)
{
-#ifdef CONFIG_SMP
- if (!p->sighand)
- BUG();
- if (!spin_is_locked(&p->sighand->siglock) &&
- !rwlock_is_locked(&tasklist_lock))
- BUG();
-#endif
return pid_task(p->pids[PIDTYPE_TGID].pid_list.next, PIDTYPE_TGID);
}