Skip to contentSkip to conversation

semaphore: remove superfluous include of ftrace.h

PATCH New Emilio G. Cota 1 participant 1 message Aug 13, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 semaphore: remove superfluous include of ftrace.h

From: "Emilio G. Cota" <[email protected]>

Inspecting the semaphore code I noticed the #include of ftrace.h, which wasn't there last time I checked (years ago). It was added by commit "74f4e36 ftrace: stacktrace fix", which was partially (and manually) reverted by "3e61e0c mmiotrace broken in linux-next (8-bit writes only)".

Since 3e61e0c the include of ftrace.h has been superfluous; remove it.

---
 kernel/semaphore.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kernel/semaphore.c +0 -1
index 94a62c0..4b63e1d 100644
@@ -31,7 +31,6 @@
 #include <linux/sched.h>
 #include <linux/semaphore.h>
 #include <linux/spinlock.h>
-#include <linux/ftrace.h>
 
 static noinline void __down(struct semaphore *sem);
 static noinline int __down_interruptible(struct semaphore *sem);
Signature · 1 line
1.7.6