aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/semaphore.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/semaphore.c b/kernel/semaphore.c
index 1a064adab65..aaaeae8244e 100644
--- a/kernel/semaphore.c
+++ b/kernel/semaphore.c
@@ -54,7 +54,6 @@ void down(struct semaphore *sem)
54{ 54{
55 unsigned long flags; 55 unsigned long flags;
56 56
57 ftrace_special(sem->count, 0, __LINE__);
58 spin_lock_irqsave(&sem->lock, flags); 57 spin_lock_irqsave(&sem->lock, flags);
59 if (likely(sem->count > 0)) 58 if (likely(sem->count > 0))
60 sem->count--; 59 sem->count--;