ring-buffer: Remove abandoned macro RB_MISSED_FLAGS
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 05:54:40 +0000 (13:54 +0800)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Tue, 21 Jan 2020 23:38:02 +0000 (18:38 -0500)
This macro isn't used since commit d325c402964e ("ring-buffer: Remove
unused function ring_buffer_page_len()"), so better to remove it.

Link: http://lkml.kernel.org/r/1579586080-45300-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/ring_buffer.c

index 3bab9b0..61f0e92 100644 (file)
@@ -300,8 +300,6 @@ u64 ring_buffer_event_time_stamp(struct ring_buffer_event *event)
 /* Missed count stored at end */
 #define RB_MISSED_STORED       (1 << 30)
 
-#define RB_MISSED_FLAGS                (RB_MISSED_EVENTS|RB_MISSED_STORED)
-
 struct buffer_data_page {
        u64              time_stamp;    /* page time stamp */
        local_t          commit;        /* write committed index */