summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@linux.alibaba.com>2020-01-21 06:54:46 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-01-22 00:39:54 +0100
commit141597204ea2dc173668c8cd7202c4bac2b0c476 (patch)
tree7cd93158550c8c5ea05d746b11a1c648de2e73a4
parentring-buffer: Remove abandoned macro RB_MISSED_FLAGS (diff)
downloadlinux-141597204ea2dc173668c8cd7202c4bac2b0c476.tar.xz
linux-141597204ea2dc173668c8cd7202c4bac2b0c476.zip
tracing: Remove unused TRACE_SEQ_BUF_USED
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>
-rw-r--r--kernel/trace/trace_seq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/trace/trace_seq.c b/kernel/trace/trace_seq.c
index 87de6edafd14..1d84fcc78e3e 100644
--- 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.
*/