projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b834794
)
tracing: Remove unused TRACE_SEQ_BUF_USED
author
Alex Shi
<alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 05:54:46 +0000
(13:54 +0800)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Tue, 21 Jan 2020 23:39:54 +0000
(18:39 -0500)
This macro isn't used from commit
3a161d99c43c
("tracing: Create
seq_buf layer in trace_seq"). so no needs to keep it.
Link:
http://lkml.kernel.org/r/1579586086-45543-1-git-send-email-alex.shi@linux.alibaba.com
Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_seq.c
patch
|
blob
|
history
diff --git
a/kernel/trace/trace_seq.c
b/kernel/trace/trace_seq.c
index
87de6ed
..
1d84fcc
100644
(file)
--- a/
kernel/trace/trace_seq.c
+++ b/
kernel/trace/trace_seq.c
@@
-30,9
+30,6
@@
/* How much buffer is left on the trace_seq? */
#define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq)
-/* How much buffer is written? */
-#define TRACE_SEQ_BUF_USED(s) seq_buf_used(&(s)->seq)
-
/*
* trace_seq should work with being initialized with 0s.
*/