diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/latencytop.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/latencytop.c b/kernel/latencytop.c index 99a5b5f46dc5..bbde5614da71 100644 --- a/kernel/latencytop.c +++ b/kernel/latencytop.c @@ -71,9 +71,6 @@ void clear_all_latency_tracing(struct task_struct *p) { unsigned long flags; - if (!latencytop_enabled) - return; - raw_spin_lock_irqsave(&latency_lock, flags); memset(&p->latency_record, 0, sizeof(p->latency_record)); p->latency_record_count = 0; @@ -96,9 +93,6 @@ account_global_scheduler_latency(struct task_struct *tsk, int firstnonnull = MAXLR + 1; int i; - if (!latencytop_enabled) - return; - /* skip kernel threads for now */ if (!tsk->mm) return; |