summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMiguel Figueiredo <elmig@debianpt.org>2013-06-02 23:36:39 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-02 23:36:39 +0200
commite124fdce292d027b6b57cd10be41c37624313a90 (patch)
treef2aa9362bbb8a83578d27fd3d737efd45f4003c9 /kern
parent1855863a892ad28ef681129e57ad375e3805362b (diff)
Remove unused variable
* kern/act.c (act_create): Remove unused variable.
Diffstat (limited to 'kern')
-rw-r--r--kern/act.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kern/act.c b/kern/act.c
index 36fa79c..4c3839c 100644
--- a/kern/act.c
+++ b/kern/act.c
@@ -97,7 +97,6 @@ kern_return_t act_create(task_t task, vm_offset_t user_stack,
struct Act **new_act)
{
Act *act;
- int rc;
#ifndef ACT_STATIC_KLUDGE
act = (Act*)kmem_cache_alloc(&act_cache);