[PATCH v4 1/5] tracing/lock: Remove unnecessary linux/sched.h include

Dmitry Ilvokhin
2026-03-26T15:17:40Z

None of the trace events in lock.h reference anything from
linux/sched.h. Remove the unnecessary include.

Signed-off-by: Dmitry Ilvokhin <d@ilvokhin.com>
---
include/trace/events/lock.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/include/trace/events/lock.h b/include/trace/events/lock.h
index 8e89baa3775f..da978f2afb45 100644
--- a/include/trace/events/lock.h
+++ b/include/trace/events/lock.h
@@ -5,7 +5,6 @@
#if !defined(_TRACE_LOCK_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_LOCK_H

-#include <linux/sched.h>
#include <linux/tracepoint.h>

/* flags for lock:contention_begin */
--
2.52.0