Skip to content

Commit 1415972

Browse files
Alex Shirostedt
authored andcommitted
tracing: Remove unused TRACE_SEQ_BUF_USED
This macro isn't used from commit 3a161d9 ("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>
1 parent b834794 commit 1415972

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎kernel/trace/trace_seq.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
/* How much buffer is left on the trace_seq? */
3131
#define TRACE_SEQ_BUF_LEFT(s) seq_buf_buffer_left(&(s)->seq)
3232

33-
/* How much buffer is written? */
34-
#define TRACE_SEQ_BUF_USED(s) seq_buf_used(&(s)->seq)
35-
3633
/*
3734
* trace_seq should work with being initialized with 0s.
3835
*/

0 commit comments

Comments
 (0)