[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused vari
From: |
Miguel Figueiredo |
Subject: |
kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused variables |
Date: |
Sun, 26 May 2013 18:28:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5 |
2013-05-26 Miguel Figueiredo <elmig@debianpt.org>
* kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused
variables
diff --git a/kern/thread.c b/kern/thread.c
index 79f526a..2181d49 100644
--- a/kern/thread.c
+++ b/kern/thread.c
@@ -163,10 +163,8 @@ boolean_t stack_alloc_try(
if (stack != 0) {
stack_attach(thread, stack, resume);
- stack_alloc_hits++;
return TRUE;
} else {
- stack_alloc_misses++;
return FALSE;
}
}
--
Melhores cumprimentos/Best regards,
Miguel Figueiredo
- kern/thread.c (stack_alloc_hits, stack_alloc_misses): Remove unused variables,
Miguel Figueiredo <=