bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 58/66] kern/pc_sample.c: remove unused variables


From: Marin Ramesa
Subject: [PATCH 58/66] kern/pc_sample.c: remove unused variables
Date: Thu, 5 Dec 2013 22:03:52 +0100

* kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused 
variables.

---
 kern/pc_sample.c | 3 ---
 1 file changed, 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,
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]