Skip to content

Commit

Permalink
ring-buffer: Remove ring_buffer_event_time_delta()
Browse files Browse the repository at this point in the history
The ring_buffer_event_time_delta() static inline function does not
have any users. Remove it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
Steven Rostedt authored and Steven Rostedt committed Oct 20, 2010
1 parent f25106a commit afcc5c6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/linux/ring_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,6 @@ enum ring_buffer_type {
unsigned ring_buffer_event_length(struct ring_buffer_event *event);
void *ring_buffer_event_data(struct ring_buffer_event *event);

/**
* ring_buffer_event_time_delta - return the delta timestamp of the event
* @event: the event to get the delta timestamp of
*
* The delta timestamp is the 27 bit timestamp since the last event.
*/
static inline unsigned
ring_buffer_event_time_delta(struct ring_buffer_event *event)
{
return event->time_delta;
}

/*
* ring_buffer_discard_commit will remove an event that has not
* ben committed yet. If this is used, then ring_buffer_unlock_commit
Expand Down

0 comments on commit afcc5c6

Please sign in to comment.