projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b000c80
)
tracing: Remove trace.h header from trace_clock.c
author
Steven Rostedt
<srostedt@redhat.com>
Tue, 22 Jan 2013 17:06:56 +0000
(12:06 -0500)
committer
Steven Rostedt
<rostedt@goodmis.org>
Tue, 22 Jan 2013 17:06:56 +0000
(12:06 -0500)
As trace_clock is used by other things besides tracing, and it
does not require anything from trace.h, it is best not to include
the header file in trace_clock.c.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_clock.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/trace/trace_clock.c
b/kernel/trace/trace_clock.c
index 394783531cbb76d9f7d9ab34ae0b6963d5d14dff..22b638b28e48799673139af07f005ced1643c777 100644
(file)
--- a/
kernel/trace/trace_clock.c
+++ b/
kernel/trace/trace_clock.c
@@
-21,8
+21,6
@@
#include <linux/ktime.h>
#include <linux/trace_clock.h>
-#include "trace.h"
-
/*
* trace_clock_local(): the simplest and least coherent tracing clock.
*