From 5d4564e68210e4b1edb3f013bc3e59982bb35737 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 19 Jan 2005 16:02:26 -0800 Subject: 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. --- kernel/exit.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'kernel') 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); } -- cgit v1.2.3