summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:22:37 +0900
commitd5f70349f3bfe387f07da38a9eccde0ccc5cdf3b (patch)
tree201d8d43b3a6ce8deed1eb99257bdfec29825102 /kern
parent99adfa5d7753ed949114be5fb1b8ffecfdf067e1 (diff)
kern/lock_mon.c: remove dead assignments
* kern/lock_mon.c (scurval, ssum, sli): Remove variables. (scurval, ssum, sli): Remove dead assignments.
Diffstat (limited to 'kern')
-rw-r--r--kern/lock_mon.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kern/lock_mon.c b/kern/lock_mon.c
index 231b530..6138efc 100644
--- a/kern/lock_mon.c
+++ b/kern/lock_mon.c
@@ -173,9 +173,6 @@ lip() {
#define lock_info_sort lis
-unsigned scurval, ssum;
-struct lock_info *sli;
-
lock_info_sort(arg, abs, count)
{
struct lock_info *li, mean;
@@ -215,9 +212,6 @@ lock_info_sort(arg, abs, count)
sum = li->success + li->fail;
if(!sum && !abs)
continue;
- scurval = curval;
- ssum = sum;
- sli = li;
if (!abs) switch(arg) {
case 0:
break;