diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2016-04-29 18:11:54 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2016-04-29 18:11:54 -0400 |
commit | 904d1857ad09b43f514897dd42daffe200d1ca50 (patch) | |
tree | 14c8fbb578379cbaa6239a337fbc0341d6a8869c /kernel/trace/trace.c | |
parent | 9b9db275051cd9191e7776c4fd79ccd4318aa2dc (diff) | |
download | linux-stable-904d1857ad09b43f514897dd42daffe200d1ca50.tar.gz linux-stable-904d1857ad09b43f514897dd42daffe200d1ca50.tar.bz2 linux-stable-904d1857ad09b43f514897dd42daffe200d1ca50.zip |
tracing: Remove unused function trace_current_buffer_lock_reserve()
trace_current_buffer_lock_reserve() has no more users. Remove it.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 41bf14412666..c09e8ffadc73 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1714,16 +1714,6 @@ trace_event_buffer_lock_reserve(struct ring_buffer **current_rb, } EXPORT_SYMBOL_GPL(trace_event_buffer_lock_reserve); -struct ring_buffer_event * -trace_current_buffer_lock_reserve(struct ring_buffer **current_rb, - int type, unsigned long len, - unsigned long flags, int pc) -{ - *current_rb = global_trace.trace_buffer.buffer; - return trace_buffer_lock_reserve(*current_rb, - type, len, flags, pc); -} - void trace_buffer_unlock_commit_regs(struct trace_array *tr, struct ring_buffer *buffer, struct ring_buffer_event *event, |