Skip to contentSkip to conversation

tracing: remove abandoned macro RB_MISSED_FLAGS

PATCH New Alex Shi 1 participant 1 message Jan 21, 2020

Subsystems (2)
lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 tracing: remove abandoned macro RB_MISSED_FLAGS

This macro isn't used from commit d325c402964e ("ring-buffer: Remove unused function ring_buffer_page_len()"), so better to remove it.

---
 kernel/trace/ring_buffer.c | 2 --
 1 file changed, 2 deletions(-)
kernel/trace/ring_buffer.c +0 -2
index 3f655371eaf6..dffbacde4475 100644
@@ -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 */
Signature · 1 line
1.8.3.1