summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-12-05 22:03:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-09 00:23:36 +0900
commit41f02ddf9c3a2357a0dbcce4b06010d54da4c123 (patch)
tree410efc46bb0f3de5971ed616989dbff802dfa912 /kern
parentd5f70349f3bfe387f07da38a9eccde0ccc5cdf3b (diff)
kern/pc_sample.c: remove unused variables
* kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused variables.
Diffstat (limited to 'kern')
-rw-r--r--kern/pc_sample.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kern/pc_sample.c b/kern/pc_sample.c
index 05c08b8..cdf8e95 100644
--- a/kern/pc_sample.c
+++ b/kern/pc_sample.c
@@ -43,9 +43,6 @@
typedef sampled_pc_t sampled_pcs[MAX_PC_SAMPLES];
-int pc_sampling_enabled = 0;
-decl_simple_lock_data(, pc_sampling_lock) /* lock for enabling */
-
void take_pc_sample(
thread_t t,
sample_control_t *cp,