summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 18:20:40 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2009-10-20 19:21:38 +0200
commitd2c4e5c657b471fb69b224137ccb0a5339ce5252 (patch)
tree43314cb8ade36ec271c19ca180bbdb634d8e8a74 /kern
parent974fb49ada3787b06531ccb4437ee245b6cfe8c1 (diff)
Fix warning
* kern/thread.c (_s_): Remove unused variable.
Diffstat (limited to 'kern')
-rw-r--r--kern/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c
index f6b442a..1548e14 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -699,7 +699,7 @@ void thread_deallocate(
* Clean up any machine-dependent resources.
*/
if ((thread->state & TH_SWAPPED) == 0) {
- spl_t _s_ = splsched();
+ splsched();
stack_free(thread);
(void) splx(s);
thread_deallocate_stack++;